Package net.minecraft.loot.entry
Class LootPoolEntry.Serializer<T extends LootPoolEntry>
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
- All Implemented Interfaces:
JsonSerializer<T>
- Direct Known Subclasses:
LeafEntry.Serializer
- Enclosing class:
LootPoolEntry
public abstract static class LootPoolEntry.Serializer<T extends LootPoolEntry>
extends Object
implements JsonSerializer<T>
- Mappings:
Namespace Name official dvj$bintermediary net/minecraft/class_79$class_5337named net/minecraft/loot/entry/LootPoolEntry$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaddEntryFields(JsonObject json, T entry, JsonSerializationContext context) abstract TfromJson(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) final Tmethod_29319(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) final voidmethod_29320(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) Methods 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_29320
public final void method_29320(JsonObject jsonObject, T t, JsonSerializationContext jsonSerializationContext) - Mappings:
Namespace Name Mixin selector official bLdvj$b;b(Lcom/google/gson/JsonObject;Ldvj;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_29320Lnet/minecraft/class_79$class_5337;method_29320(Lcom/google/gson/JsonObject;Lnet/minecraft/class_79;Lcom/google/gson/JsonSerializationContext;)Vnamed method_29320Lnet/minecraft/loot/entry/LootPoolEntry$Serializer;method_29320(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LootPoolEntry;Lcom/google/gson/JsonSerializationContext;)V
-
method_29319
public final T method_29319(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Mappings:
Namespace Name Mixin selector official bLdvj$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldvj;intermediary method_29319Lnet/minecraft/class_79$class_5337;method_29319(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_79;named method_29319Lnet/minecraft/loot/entry/LootPoolEntry$Serializer;method_29319(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/entry/LootPoolEntry;
-
addEntryFields
- Mappings:
Namespace Name Mixin selector official aLdvj$b;a(Lcom/google/gson/JsonObject;Ldvj;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_422Lnet/minecraft/class_79$class_5337;method_422(Lcom/google/gson/JsonObject;Lnet/minecraft/class_79;Lcom/google/gson/JsonSerializationContext;)Vnamed addEntryFieldsLnet/minecraft/loot/entry/LootPoolEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LootPoolEntry;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public abstract T fromJson(JsonObject json, JsonDeserializationContext context, LootCondition[] conditions) - Mappings:
Namespace Name Mixin selector official bLdvj$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldxl;)Ldvj;intermediary method_424Lnet/minecraft/class_79$class_5337;method_424(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_79;named fromJsonLnet/minecraft/loot/entry/LootPoolEntry$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/entry/LootPoolEntry;
-