Package net.minecraft.loot.function
Class SetGoatHornSoundLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
net.minecraft.loot.function.SetGoatHornSoundLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetGoatHornSoundLootFunction>
- Enclosing class:
SetGoatHornSoundLootFunction
public static class SetGoatHornSoundLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
- Mappings:
Namespace Name official dtx$a
intermediary net/minecraft/class_7431$class_7432
named net/minecraft/loot/function/SetGoatHornSoundLootFunction$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, SetGoatHornSoundLootFunction setGoatHornSoundLootFunction, 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, SetGoatHornSoundLootFunction setGoatHornSoundLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<SetGoatHornSoundLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldtx$a;a(Lcom/google/gson/JsonObject;Ldtx;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/SetGoatHornSoundLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public SetGoatHornSoundLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetGoatHornSoundLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldtx$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldux;)Ldtx;
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/SetGoatHornSoundLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetGoatHornSoundLootFunction;
-