Package | Description |
---|---|
net.minecraft.network.datasync | |
net.minecraftforge.common | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
static IDataSerializer<BlockPos> |
DataSerializers.BLOCK_POS |
static IDataSerializer<java.lang.Boolean> |
DataSerializers.BOOLEAN |
static IDataSerializer<java.lang.Byte> |
DataSerializers.BYTE |
static IDataSerializer<CompoundNBT> |
DataSerializers.COMPOUND_NBT |
static IDataSerializer<Direction> |
DataSerializers.DIRECTION |
static IDataSerializer<java.lang.Float> |
DataSerializers.FLOAT |
static IDataSerializer<ItemStack> |
DataSerializers.ITEMSTACK |
static IDataSerializer<java.util.Optional<BlockPos>> |
DataSerializers.OPTIONAL_BLOCK_POS |
static IDataSerializer<java.util.Optional<BlockState>> |
DataSerializers.OPTIONAL_BLOCK_STATE |
static IDataSerializer<java.util.Optional<ITextComponent>> |
DataSerializers.OPTIONAL_TEXT_COMPONENT |
static IDataSerializer<java.util.Optional<java.util.UUID>> |
DataSerializers.OPTIONAL_UNIQUE_ID |
static IDataSerializer<java.util.OptionalInt> |
DataSerializers.OPTIONAL_VARINT |
static IDataSerializer<IParticleData> |
DataSerializers.PARTICLE_DATA |
static IDataSerializer<Pose> |
DataSerializers.POSE |
static IDataSerializer<Rotations> |
DataSerializers.ROTATIONS |
private IDataSerializer<T> |
DataParameter.serializer |
static IDataSerializer<java.lang.String> |
DataSerializers.STRING |
static IDataSerializer<ITextComponent> |
DataSerializers.TEXT_COMPONENT |
static IDataSerializer<java.lang.Integer> |
DataSerializers.VARINT |
static IDataSerializer<VillagerData> |
DataSerializers.VILLAGER_DATA |
Modifier and Type | Field and Description |
---|---|
private static IntIdentityHashBiMap<IDataSerializer<?>> |
DataSerializers.REGISTRY |
Modifier and Type | Method and Description |
---|---|
IDataSerializer<T> |
DataParameter.getSerializer() |
static IDataSerializer<?> |
DataSerializers.getSerializer(int id) |
Modifier and Type | Method and Description |
---|---|
static <T> DataParameter<T> |
EntityDataManager.createKey(java.lang.Class<? extends Entity> clazz,
IDataSerializer<T> serializer) |
static int |
DataSerializers.getSerializerId(IDataSerializer<?> serializer) |
private static <T> EntityDataManager.DataEntry<T> |
EntityDataManager.makeDataEntry(PacketBuffer bufferIn,
int idIn,
IDataSerializer<T> serializerIn) |
static void |
DataSerializers.registerSerializer(IDataSerializer<?> serializer) |
Constructor and Description |
---|
DataParameter(int idIn,
IDataSerializer<T> serializerIn) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<IDataSerializer<?>,DataSerializerEntry> |
ForgeHooks.serializerEntries |
Modifier and Type | Method and Description |
---|---|
static IDataSerializer<?> |
ForgeHooks.getSerializer(int id,
IntIdentityHashBiMap<IDataSerializer<?>> vanilla) |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeHooks.getSerializerId(IDataSerializer<?> serializer,
IntIdentityHashBiMap<IDataSerializer<?>> vanilla) |
Modifier and Type | Method and Description |
---|---|
static IDataSerializer<?> |
ForgeHooks.getSerializer(int id,
IntIdentityHashBiMap<IDataSerializer<?>> vanilla) |
static int |
ForgeHooks.getSerializerId(IDataSerializer<?> serializer,
IntIdentityHashBiMap<IDataSerializer<?>> vanilla) |
Modifier and Type | Field and Description |
---|---|
private IDataSerializer<?> |
DataSerializerEntry.serializer |
Modifier and Type | Method and Description |
---|---|
IDataSerializer<?> |
DataSerializerEntry.getSerializer() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<IDataSerializer<?>,DataSerializerEntry> |
GameData.getSerializerMap() |
Constructor and Description |
---|
DataSerializerEntry(IDataSerializer<?> serializer) |