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