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

public class LootItemRandomChanceCondition

implements LootItemCondition

dmy
net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceCondition
net.minecraft.class_219
net.minecraft.loot.condition.RandomChanceLootCondition
net.minecraft.src.C_3013_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionRandomChance

Field summary

Modifier and TypeField
final float
a
probability
field_1296
chance
f_81921_

Constructor summary

ModifierConstructor
(float chance)

Method summary

Modifier and TypeMethod
public LootItemConditionType
a()
getType()
method_29325()
getType()
m_7940_()
public boolean
a(dka arg0)
test(LootContext arg0)
method_934(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(float arg0)
randomChance(float arg0)
method_932(float arg0)
builder(float chance)
m_81927_(float p_81928_)