net.minecraft.world.level.storage.loot.functions

final class ApplyBonusCount$UniformBonusCount

implements ApplyBonusCount$Formula

dbv$f
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount$UniformBonusCount
net.minecraft.class_94$class_100
net.minecraft.loot.function.ApplyBonusLootFunction$UniformBonusCount
net.minecraft.loot.functions.ApplyBonus$UniformBonusCountFormula
net.minecraft.server.v1_16_R1.LootItemFunctionApplyBonus$f

Field summary

Modifier and TypeField
public static final ResourceLocation
a
TYPE
field_1016
ID
field_216208_a
private final int
b
bonusMultiplier
field_1017
bonusMultiplier
field_216209_b

Constructor summary

ModifierConstructor
public (int bonusMultiplier)

Method summary

Modifier and TypeMethod
public int
a(Random arg0, int arg1, int arg2)
calculateNewCount(Random arg0, int arg1, int arg2)
method_467(Random arg0, int arg1, int arg2)
getValue(Random arg0, int arg1, int arg2)
func_216204_a(Random arg0, int arg1, int arg2)
public void
a(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
serializeParams(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
method_465(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
toJson(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
func_216202_a(com.google.gson.JsonObject arg0, com.google.gson.JsonSerializationContext arg1)
public static ApplyBonusCount$Formula
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_471(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
func_216207_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public ResourceLocation
a()
getType()
method_466()
getId()
func_216203_a()