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 dgz$b
intermediary net/minecraft/class_212$class_214
named net/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description BlockStatePropertyLootCondition
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
void
toJson(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:
toJson
in interfaceJsonSerializer<BlockStatePropertyLootCondition>
- Mappings:
Namespace Name Mixin selector official a
Ldgz$b;a(Lcom/google/gson/JsonObject;Ldgz;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_909
Lnet/minecraft/class_212$class_214;method_909(Lcom/google/gson/JsonObject;Lnet/minecraft/class_212;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/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:
fromJson
in interfaceJsonSerializer<BlockStatePropertyLootCondition>
- Mappings:
Namespace Name Mixin selector official b
Ldgz$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldgz;
intermediary method_910
Lnet/minecraft/class_212$class_214;method_910(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_212;
named fromJson
Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition;
-