类 EnchantRandomlyLootFunction.Serializer
- java.lang.Object
-
- net.minecraft.loot.function.ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
-
- net.minecraft.loot.function.EnchantRandomlyLootFunction.Serializer
-
- 所有已实现的接口:
JsonSerializer<EnchantRandomlyLootFunction>
public static class EnchantRandomlyLootFunction.Serializer extends ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>
- Mappings:
Namespace Name official dit$bintermediary net/minecraft/class_109$class_110named net/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer
-
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EnchantRandomlyLootFunctionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)voidtoJson(JsonObject jsonObject, EnchantRandomlyLootFunction enchantRandomlyLootFunction, JsonSerializationContext jsonSerializationContext)-
从类继承的方法 net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
-
-
-
方法详细资料
-
toJson
public void toJson(JsonObject jsonObject, EnchantRandomlyLootFunction enchantRandomlyLootFunction, JsonSerializationContext jsonSerializationContext)
- 指定者:
toJson在接口中JsonSerializer<EnchantRandomlyLootFunction>- 覆盖:
toJson在类中ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>- Mappings:
Namespace Name Mixin selector official aLdit$b;a(Lcom/google/gson/JsonObject;Ldit;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_491Lnet/minecraft/class_109$class_110;method_491(Lcom/google/gson/JsonObject;Lnet/minecraft/class_109;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/EnchantRandomlyLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public EnchantRandomlyLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
- 指定者:
fromJson在类中ConditionalLootFunction.Serializer<EnchantRandomlyLootFunction>- Mappings:
Namespace Name Mixin selector official aLdit$b;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldkh;)Ldit;intermediary method_490Lnet/minecraft/class_109$class_110;method_490(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_109;named fromJsonLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction;
-
-