Package net.minecraft.loot.entry
Class LeafEntry.Serializer<T extends LeafEntry>
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
net.minecraft.loot.entry.LeafEntry.Serializer<T>
- All Implemented Interfaces:
- JsonSerializer<T>
- Direct Known Subclasses:
- DynamicEntry.Serializer,- EmptyEntry.Serializer,- ItemEntry.Serializer,- LootTableEntry.Serializer,- TagEntry.Serializer
- Enclosing class:
- LeafEntry
public abstract static class LeafEntry.Serializer<T extends LeafEntry>
extends LootPoolEntry.Serializer<T>
- Mappings:
- Namespace - Name - official - eah$e- intermediary - net/minecraft/class_85$class_90- named - net/minecraft/loot/entry/LeafEntry$Serializer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddEntryFields(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) protected abstract TfromJson(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) final TfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) Methods inherited from class net.minecraft.loot.entry.LootPoolEntry.SerializerfromJson, toJson
- 
Constructor Details- 
Serializerpublic Serializer()
 
- 
- 
Method Details- 
addEntryFieldspublic void addEntryFields(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) - Specified by:
- addEntryFieldsin class- LootPoolEntry.Serializer<T extends LeafEntry>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leah$e;a(Lcom/google/gson/JsonObject;Leah;Lcom/google/gson/JsonSerializationContext;)V- intermediary - method_442- Lnet/minecraft/class_85$class_90;method_442(Lcom/google/gson/JsonObject;Lnet/minecraft/class_85;Lcom/google/gson/JsonSerializationContext;)V- named - addEntryFields- Lnet/minecraft/loot/entry/LeafEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LeafEntry;Lcom/google/gson/JsonSerializationContext;)V
 
- 
fromJsonpublic final T fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
- fromJsonin class- LootPoolEntry.Serializer<T extends LeafEntry>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leah$e;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Leah;- intermediary - method_441- Lnet/minecraft/class_85$class_90;method_441(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_85;- named - fromJson- Lnet/minecraft/loot/entry/LeafEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/entry/LeafEntry;
 
- 
fromJsonprotected abstract T fromJson(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) - Mappings:
- Namespace - Name - Mixin selector - official - b- Leah$e;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Leck;[Leaz;)Leah;- intermediary - method_443- Lnet/minecraft/class_85$class_90;method_443(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_85;- named - fromJson- Lnet/minecraft/loot/entry/LeafEntry$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/LeafEntry;
 
 
-