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 eca$b
intermediary net/minecraft/class_212$class_214
named net/minecraft/loot/condition/BlockStatePropertyLootCondition$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(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
Leca$b;a(Lcom/google/gson/JsonObject;Leca;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
Leca$b;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Leca;
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;
-