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

public record LootItemRandomChanceCondition

implements LootItemCondition

evh
net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceCondition
net.minecraft.class_219
net.minecraft.unmapped.C_vvwlqdtn
net.minecraft.loot.condition.RandomChanceLootCondition
net.minecraft.loot.condition.RandomChanceLootCondition
net.minecraft.src.C_3013_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionRandomChance

Field summary

Modifier and TypeField
private final NumberProvider
b
chance
comp_2781
f_qwponmpo
chance
chance
f_337409_
public static final com.mojang.serialization.MapCodec<LootItemRandomChanceCondition>
a
CODEC
field_45873
f_vvmulcms
CODEC
CODEC
f_290849_

Constructor summary

ModifierConstructor
public (NumberProvider chance)

Method summary

Modifier and TypeMethod
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
m_7940_()
public boolean
a(err arg0)
test(LootContext arg0)
method_934(class_47 arg0)
m_brlzhlpb(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemCondition$Builder
a(float arg0)
randomChance(float arg0)
method_932(float arg0)
m_dbenidbq(float arg0)
builder(float chance)
m_81927_(float p_81928_)
public static LootItemCondition$Builder
a(evy arg0)
randomChance(NumberProvider arg0)
method_60310(class_5658 arg0)
m_hkryzkkk(C_iajmfyig arg0)
builder(LootNumberProvider chance)
m_340206_(C_141501_ p_344007_)
public NumberProvider
c()
chance()
comp_2781()
m_koaawhoy()
chance()
chance()
f_337409_()