public class MovementType<T extends ControlledMovementLogic> extends net.minecraftforge.registries.ForgeRegistryEntry<MovementType<?>>
Modifier and Type | Field and Description |
---|---|
protected com.mojang.serialization.Codec<T> |
codec |
Constructor and Description |
---|
MovementType(com.mojang.serialization.Codec<T> codec) |
Modifier and Type | Method and Description |
---|---|
com.mojang.serialization.Codec<T> |
getCodec() |
protected final com.mojang.serialization.Codec<T extends ControlledMovementLogic> codec
public MovementType(com.mojang.serialization.Codec<T> codec)
public com.mojang.serialization.Codec<T> getCodec()