Package net.minecraft.loot.condition
Class BlockStatePropertyLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.BlockStatePropertyLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<BlockStatePropertyLootCondition>
- Enclosing class:
BlockStatePropertyLootCondition
public static class BlockStatePropertyLootCondition.Serializer
extends Object
implements JsonSerializer<BlockStatePropertyLootCondition>
- Mappings:
Namespace Name official ecg$bintermediary net/minecraft/class_212$class_214named net/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) voidtoJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext) - Specified by:
toJsonin interfaceJsonSerializer<BlockStatePropertyLootCondition>- Mappings:
Namespace Name Mixin selector official aLecg$b;a(Lcom/google/gson/JsonObject;Lecg;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_909Lnet/minecraft/class_212$class_214;method_909(Lcom/google/gson/JsonObject;Lnet/minecraft/class_212;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public BlockStatePropertyLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext) - Specified by:
fromJsonin interfaceJsonSerializer<BlockStatePropertyLootCondition>- Mappings:
Namespace Name Mixin selector official bLecg$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lecg;intermediary method_910Lnet/minecraft/class_212$class_214;method_910(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_212;named fromJsonLnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;
-