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

final class ApplyBonusCount$UniformBonusCount

implements ApplyBonusCount$Formula

djo$f
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount$UniformBonusCount
net.minecraft.class_94$class_100
net.minecraft.loot.function.ApplyBonusLootFunction$UniformBonusCount
net.minecraft.src.C_2874_$C_2881_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionApplyBonus$f

Field summary

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

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)
m_6432_(Random p_80026_, int p_80027_, 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)
m_6417_(com.google.gson.JsonObject p_80023_, 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)
m_80018_(com.google.gson.JsonObject p_80019_, com.google.gson.JsonDeserializationContext p_80020_)
public ResourceLocation
a()
getType()
method_466()
getId()
m_5713_()