Package net.minecraft.loot.entry
Class DynamicEntry.Serializer
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
net.minecraft.loot.entry.LeafEntry.Serializer<DynamicEntry>
net.minecraft.loot.entry.DynamicEntry.Serializer
- All Implemented Interfaces:
JsonSerializer<DynamicEntry>
- Enclosing class:
- DynamicEntry
- Mappings:
Namespace Name official djb$a
intermediary net/minecraft/class_67$class_68
named net/minecraft/loot/entry/DynamicEntry$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryFields(JsonObject jsonObject, DynamicEntry dynamicEntry, JsonSerializationContext jsonSerializationContext)
protected DynamicEntry
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, DynamicEntry dynamicEntry, JsonSerializationContext jsonSerializationContext)- Overrides:
addEntryFields
in classLeafEntry.Serializer<DynamicEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldjb$a;a(Lcom/google/gson/JsonObject;Ldjb;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_393
Lnet/minecraft/class_67$class_68;method_393(Lcom/google/gson/JsonObject;Lnet/minecraft/class_67;Lcom/google/gson/JsonSerializationContext;)V
named addEntryFields
Lnet/minecraft/loot/entry/DynamicEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/DynamicEntry;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
protected DynamicEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)- Specified by:
fromJson
in classLeafEntry.Serializer<DynamicEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldjb$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldlh;[Ldka;)Ldjb;
intermediary method_392
Lnet/minecraft/class_67$class_68;method_392(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_67;
named fromJson
Lnet/minecraft/loot/entry/DynamicEntry$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/DynamicEntry;
-