net.minecraft.world.level.storage.loot.predicates

public record LootItemRandomChanceWithLootingCondition

implements LootItemCondition

ekb
net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceWithLootingCondition
net.minecraft.class_225
net.minecraft.unmapped.C_jmmvunzx
net.minecraft.loot.condition.RandomChanceWithLootingLootCondition
net.minecraft.loot.condition.RandomChanceWithLootingLootCondition
net.minecraft.src.C_3016_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionRandomChanceWithLooting

Field summary

Modifier and TypeField
private final float
b
percent
comp_1882
f_brimelrf
chance
chance
f_81953_
private final float
c
lootingMultiplier
comp_1883
f_umfiqenq
lootingMultiplier
lootingMultiplier
f_81954_
public static final com.mojang.serialization.Codec<LootItemRandomChanceWithLootingCondition>
a
CODEC
field_45874
f_enruweub
CODEC
CODEC
f_291054_

Constructor summary

ModifierConstructor
public (float chance, float lootingMultiplier)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
m_7940_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public boolean
a(egw arg0)
test(LootContext arg0)
method_950(class_47 arg0)
m_eutcotmv(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(float arg0, float arg1)
randomChanceAndLootingBoost(float arg0, float arg1)
method_953(float arg0, float arg1)
m_gwmdmiaf(float arg0, float arg1)
builder(float chance, float lootingMultiplier)
builder(float chance, float lootingMultiplier)
m_81963_(float p_81964_, float p_81965_)
public float
c()
percent()
comp_1882()
m_xvdavviw()
chance()
percent()
f_81953_()
public float
d()
lootingMultiplier()
comp_1883()
m_fquyvmlc()
lootingMultiplier()
lootingMultiplier()
f_81954_()