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

public class LootItemRandomChanceWithLootingCondition

implements LootItemCondition

dug
net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceWithLootingCondition
net.minecraft.class_225
net.minecraft.loot.condition.RandomChanceWithLootingLootCondition
net.minecraft.src.C_3016_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionRandomChanceWithLooting

Field summary

Modifier and TypeField
final float
a
percent
field_1300
chance
f_81953_
final float
b
lootingMultiplier
field_1299
lootingMultiplier
f_81954_

Constructor summary

ModifierConstructor
(float chance, float lootingMultiplier)

Method summary

Modifier and TypeMethod
public LootItemConditionType
a()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public boolean
a(drg arg0)
test(LootContext arg0)
method_950(class_47 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)
builder(float chance, float lootingMultiplier)
m_81963_(float p_81964_, float p_81965_)