Class PaucalCodecs

java.lang.Object
at.petrak.paucal.api.PaucalCodecs

public final class PaucalCodecs extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,net.minecraft.world.phys.Vec3>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <E extends Enum<E>>
    com.mojang.serialization.Codec<E>
    enumCodec(Class<E> clazz)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VEC3

      public static final net.minecraft.network.codec.StreamCodec<io.netty.buffer.ByteBuf,net.minecraft.world.phys.Vec3> VEC3
  • Constructor Details

    • PaucalCodecs

      public PaucalCodecs()
  • Method Details

    • enumCodec

      public static <E extends Enum<E>> com.mojang.serialization.Codec<E> enumCodec(Class<E> clazz)