Class BinomialDistributionGenerator.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.providers.number.BinomialDistributionGenerator.Serializer
- All Implemented Interfaces:
Serializer<BinomialDistributionGenerator>
- Enclosing class:
- BinomialDistributionGenerator
public static class BinomialDistributionGenerator.Serializer
extends Object
implements Serializer<BinomialDistributionGenerator>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_165680_, com.google.gson.JsonDeserializationContext p_165681_) void
serialize
(com.google.gson.JsonObject p_165672_, BinomialDistributionGenerator p_165673_, com.google.gson.JsonSerializationContext p_165674_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
deserialize
public BinomialDistributionGenerator deserialize(com.google.gson.JsonObject p_165680_, com.google.gson.JsonDeserializationContext p_165681_) - Specified by:
deserialize
in interfaceSerializer<BinomialDistributionGenerator>
-
serialize
public void serialize(com.google.gson.JsonObject p_165672_, BinomialDistributionGenerator p_165673_, com.google.gson.JsonSerializationContext p_165674_) - Specified by:
serialize
in interfaceSerializer<BinomialDistributionGenerator>
-