Package net.minecraft.loot.function
Class SetInstrumentLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetInstrumentLootFunction>
net.minecraft.loot.function.SetInstrumentLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetInstrumentLootFunction>
- Enclosing class:
SetInstrumentLootFunction
public static class SetInstrumentLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetInstrumentLootFunction>
- Mappings:
Namespace Name official ebi$a
intermediary net/minecraft/class_7431$class_7432
named net/minecraft/loot/function/SetInstrumentLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, SetInstrumentLootFunction setInstrumentLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, SetInstrumentLootFunction setInstrumentLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<SetInstrumentLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetInstrumentLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Lebi$a;a(Lcom/google/gson/JsonObject;Lebi;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_43573
Lnet/minecraft/class_7431$class_7432;method_43573(Lcom/google/gson/JsonObject;Lnet/minecraft/class_7431;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/SetInstrumentLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetInstrumentLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public SetInstrumentLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetInstrumentLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Lebi$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Leck;)Lebi;
intermediary method_43572
Lnet/minecraft/class_7431$class_7432;method_43572(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_7431;
named fromJson
Lnet/minecraft/loot/function/SetInstrumentLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetInstrumentLootFunction;
-