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 dvl$eintermediary net/minecraft/class_85$class_90named net/minecraft/loot/entry/LeafEntry$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TfromJson(JsonObject entryJson, JsonDeserializationContext context, int weight, int quality, LootCondition[] conditions, LootFunction[] functions) final Tmethod_441(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) voidmethod_442(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.entry.LootPoolEntry.Serializer
addEntryFields, fromJson, method_29319, method_29320Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.JsonSerializer
fromJson, toJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
method_442
public void method_442(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) - Mappings:
Namespace Name Mixin selector official aLdvl$e;a(Lcom/google/gson/JsonObject;Ldvl;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_442Lnet/minecraft/class_85$class_90;method_442(Lcom/google/gson/JsonObject;Lnet/minecraft/class_85;Lcom/google/gson/JsonSerializationContext;)Vnamed method_442Lnet/minecraft/loot/entry/LeafEntry$Serializer;method_442(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LeafEntry;Lcom/google/gson/JsonSerializationContext;)V
-
method_441
public final T method_441(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Mappings:
Namespace Name Mixin selector official aLdvl$e;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldxl;)Ldvl;intermediary method_441Lnet/minecraft/class_85$class_90;method_441(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_85;named method_441Lnet/minecraft/loot/entry/LeafEntry$Serializer;method_441(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 bLdvl$e;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldxl;[Ldwc;)Ldvl;intermediary method_443Lnet/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 fromJsonLnet/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;
-