Package | Description |
---|---|
net.minecraft.network.datasync | |
net.minecraftforge.common | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
static DataSerializer<BlockPos> |
DataSerializers.BLOCK_POS |
static DataSerializer<java.lang.Boolean> |
DataSerializers.BOOLEAN |
static DataSerializer<java.lang.Byte> |
DataSerializers.BYTE |
static DataSerializer<NBTTagCompound> |
DataSerializers.COMPOUND_TAG |
static DataSerializer<EnumFacing> |
DataSerializers.FACING |
static DataSerializer<java.lang.Float> |
DataSerializers.FLOAT |
static DataSerializer<ItemStack> |
DataSerializers.ITEM_STACK |
static DataSerializer<com.google.common.base.Optional<BlockPos>> |
DataSerializers.OPTIONAL_BLOCK_POS |
static DataSerializer<com.google.common.base.Optional<IBlockState>> |
DataSerializers.OPTIONAL_BLOCK_STATE |
static DataSerializer<com.google.common.base.Optional<java.util.UUID>> |
DataSerializers.OPTIONAL_UNIQUE_ID |
static DataSerializer<Rotations> |
DataSerializers.ROTATIONS |
private DataSerializer<T> |
DataParameter.serializer |
static DataSerializer<java.lang.String> |
DataSerializers.STRING |
static DataSerializer<ITextComponent> |
DataSerializers.TEXT_COMPONENT |
static DataSerializer<java.lang.Integer> |
DataSerializers.VARINT |
Modifier and Type | Field and Description |
---|---|
private static IntIdentityHashBiMap<DataSerializer<?>> |
DataSerializers.REGISTRY |
Modifier and Type | Method and Description |
---|---|
DataSerializer<T> |
DataParameter.getSerializer() |
static DataSerializer<?> |
DataSerializers.getSerializer(int id) |
Modifier and Type | Method and Description |
---|---|
static <T> DataParameter<T> |
EntityDataManager.createKey(java.lang.Class<? extends Entity> clazz,
DataSerializer<T> serializer) |
static int |
DataSerializers.getSerializerId(DataSerializer<?> serializer) |
static void |
DataSerializers.registerSerializer(DataSerializer<?> serializer)
Deprecated.
|
Constructor and Description |
---|
DataParameter(int idIn,
DataSerializer<T> serializerIn) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<DataSerializer<?>,DataSerializerEntry> |
ForgeHooks.serializerEntries |
Modifier and Type | Method and Description |
---|---|
static DataSerializer<?> |
ForgeHooks.getSerializer(int id,
IntIdentityHashBiMap<DataSerializer<?>> vanilla) |
Modifier and Type | Method and Description |
---|---|
static int |
ForgeHooks.getSerializerId(DataSerializer<?> serializer,
IntIdentityHashBiMap<DataSerializer<?>> vanilla) |
Modifier and Type | Method and Description |
---|---|
static DataSerializer<?> |
ForgeHooks.getSerializer(int id,
IntIdentityHashBiMap<DataSerializer<?>> vanilla) |
static int |
ForgeHooks.getSerializerId(DataSerializer<?> serializer,
IntIdentityHashBiMap<DataSerializer<?>> vanilla) |
Modifier and Type | Field and Description |
---|---|
private DataSerializer<?> |
DataSerializerEntry.serializer |
Modifier and Type | Method and Description |
---|---|
DataSerializer<?> |
DataSerializerEntry.getSerializer() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<DataSerializer<?>,DataSerializerEntry> |
GameData.getSerializerMap() |
Constructor and Description |
---|
DataSerializerEntry(DataSerializer<?> serializer) |