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 djj$e
intermediary net/minecraft/class_85$class_90
named net/minecraft/loot/entry/LeafEntry$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEntryFields
(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) protected abstract T
fromJson
(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) final T
fromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) 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, T t, JsonSerializationContext jsonSerializationContext) - Specified by:
addEntryFields
in classLootPoolEntry.Serializer<T extends LeafEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldjj$e;a(Lcom/google/gson/JsonObject;Ldjj;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
-
fromJson
public final T fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classLootPoolEntry.Serializer<T extends LeafEntry>
- Mappings:
Namespace Name Mixin selector official a
Ldjj$e;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldlh;)Ldjj;
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;
-
fromJson
protected abstract T fromJson(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) - Mappings:
Namespace Name Mixin selector official b
Ldjj$e;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldlh;[Ldka;)Ldjj;
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;
-