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 djm$a
intermediary net/minecraft/class_91$class_92
named net/minecraft/loot/entry/TagEntry$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryFields(JsonObject jsonObject, TagEntry tagEntry, JsonSerializationContext jsonSerializationContext)
protected TagEntry
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
Methods inherited from class net.minecraft.loot.entry.LeafEntry.Serializer
fromJson
Methods 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:
addEntryFields
in classLeafEntry.Serializer<TagEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldjm$a;a(Lcom/google/gson/JsonObject;Ldjm;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_451
Lnet/minecraft/class_91$class_92;method_451(Lcom/google/gson/JsonObject;Lnet/minecraft/class_91;Lcom/google/gson/JsonSerializationContext;)V
named addEntryFields
Lnet/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:
fromJson
in classLeafEntry.Serializer<TagEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldjm$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldlh;[Ldka;)Ldjm;
intermediary method_450
Lnet/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 fromJson
Lnet/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;
-