类 LootTableEntry.Serializer
- java.lang.Object
-
- net.minecraft.loot.entry.LootPoolEntry.Serializer<T>
-
- net.minecraft.loot.entry.LeafEntry.Serializer<LootTableEntry>
-
- net.minecraft.loot.entry.LootTableEntry.Serializer
-
- 所有已实现的接口:
JsonSerializer<LootTableEntry>
- 封闭类:
- LootTableEntry
public static class LootTableEntry.Serializer extends LeafEntry.Serializer<LootTableEntry>
- Mappings:
Namespace Name official dik$aintermediary net/minecraft/class_83$class_84named net/minecraft/loot/entry/LootTableEntry$Serializer
-
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddEntryFields(JsonObject jsonObject, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext)protected LootTableEntryfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)-
从类继承的方法 net.minecraft.loot.entry.LeafEntry.Serializer
fromJson
-
从类继承的方法 net.minecraft.loot.entry.LootPoolEntry.Serializer
fromJson, toJson
-
-
-
-
方法详细资料
-
addEntryFields
public void addEntryFields(JsonObject jsonObject, LootTableEntry lootTableEntry, JsonSerializationContext jsonSerializationContext)
- 覆盖:
addEntryFields在类中LeafEntry.Serializer<LootTableEntry>- Mappings:
Namespace Name Mixin selector official aLdik$a;a(Lcom/google/gson/JsonObject;Ldik;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_431Lnet/minecraft/class_83$class_84;method_431(Lcom/google/gson/JsonObject;Lnet/minecraft/class_83;Lcom/google/gson/JsonSerializationContext;)Vnamed addEntryFieldsLnet/minecraft/loot/entry/LootTableEntry$Serializer;addEntryFields(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/entry/LootTableEntry;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
protected LootTableEntry fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, int int2, int int3, LootCondition[] lootCondition, LootFunction[] lootFunction)
- 指定者:
fromJson在类中LeafEntry.Serializer<LootTableEntry>- Mappings:
Namespace Name Mixin selector official aLdik$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Ldkh;[Ldja;)Ldik;intermediary method_432Lnet/minecraft/class_83$class_84;method_432(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;II[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Lnet/minecraft/class_83;named fromJsonLnet/minecraft/loot/entry/LootTableEntry$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/LootTableEntry;
-
-