Package net.minecraft.loot.entry
Class TagEntry.Serializer
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
net.minecraft.loot.entry.LeafEntry.Serializer<TagEntry>
net.minecraft.loot.entry.TagEntry.Serializer
- All Implemented Interfaces:
JsonSerializer<TagEntry>
- Enclosing class:
TagEntry
- Mappings:
Namespace Name official eah$aintermediary net/minecraft/class_91$class_92named net/minecraft/loot/entry/TagEntry$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntryFields(JsonObject jsonObject, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext) protected TagEntryfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) Methods inherited from class net.minecraft.loot.entry.LeafEntry.Serializer
fromJsonMethods inherited from class net.minecraft.loot.entry.LootPoolEntry.Serializer
fromJson, toJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
addEntryFields
public void addEntryFields(JsonObject jsonObject, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext) - Overrides:
addEntryFieldsin classLeafEntry.Serializer<TagEntry>- Mappings:
Namespace Name Mixin selector official aLeah$a;a(Lcom/google/gson/JsonObject;Leah;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_451Lnet/minecraft/class_91$class_92;method_451(Lcom/google/gson/JsonObject;Lnet/minecraft/class_91;Lcom/google/gson/JsonSerializationContext;)Vnamed addEntryFieldsLnet/minecraft/loot/entry/TagEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/TagEntry;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
protected TagEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction) - Specified by:
fromJsonin classLeafEntry.Serializer<TagEntry>- Mappings:
Namespace Name Mixin selector official aLeah$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lech;[Leaw;)Leah;intermediary method_450Lnet/minecraft/class_91$class_92;method_450(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_91;named fromJsonLnet/minecraft/loot/entry/TagEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/loot/condition/LootCondition;[Lnet/minecraft/loot/function/LootFunction;)Lnet/minecraft/loot/entry/TagEntry;
-