Class ApplyBonusCount.OreDrops
java.lang.Object
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount.OreDrops
- All Implemented Interfaces:
ApplyBonusCount.Formula
- Enclosing class:
- ApplyBonusCount
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
calculateNewCount(Random p_79986_, int p_79987_, int p_79988_)
static ApplyBonusCount.Formula
deserialize(com.google.gson.JsonObject p_79980_, com.google.gson.JsonDeserializationContext p_79981_)
getType()
void
serializeParams(com.google.gson.JsonObject p_79983_, com.google.gson.JsonSerializationContext p_79984_)
-
Field Details
-
TYPE
-
-
Constructor Details
-
OreDrops
OreDrops()
-
-
Method Details
-
calculateNewCount
- Specified by:
calculateNewCount
in interfaceApplyBonusCount.Formula
-
serializeParams
public void serializeParams(com.google.gson.JsonObject p_79983_, com.google.gson.JsonSerializationContext p_79984_)- Specified by:
serializeParams
in interfaceApplyBonusCount.Formula
-
deserialize
public static ApplyBonusCount.Formula deserialize(com.google.gson.JsonObject p_79980_, com.google.gson.JsonDeserializationContext p_79981_) -
getType
- Specified by:
getType
in interfaceApplyBonusCount.Formula
-