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

public record LootItemBlockStatePropertyCondition

implements LootItemCondition

ezx
net.minecraft.world.level.storage.loot.predicates.LootItemBlockStatePropertyCondition
net.minecraft.class_212
net.minecraft.unmapped.C_kwfsxfym
net.minecraft.loot.condition.BlockStatePropertyLootCondition
net.minecraft.loot.condition.BlockStatePropertyLootCondition
net.minecraft.src.C_3000_
net.minecraft.world.level.storage.loot.predicates.LootItemConditionBlockStateProperty

Field summary

Modifier and TypeField
private final Holder<Block>
b
block
comp_1876
f_mektqjvw
block
block
f_81759_
private final Optional<StatePropertiesPredicate>
c
properties
comp_1877
f_aurmymjq
properties
properties
f_81760_
public static final com.mojang.serialization.MapCodec<LootItemBlockStatePropertyCondition>
a
CODEC
field_45868
f_bvpabicw
CODEC
CODEC
f_291798_

Constructor summary

ModifierConstructor
public (Holder<Block> block, Optional<StatePropertiesPredicate> properties)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<LootItemBlockStatePropertyCondition>
a(ezx arg0)
validate(LootItemBlockStatePropertyCondition arg0)
method_53418(class_212 arg0)
m_vrognxqo(C_kwfsxfym arg0)
validateHasProperties(BlockStatePropertyLootCondition condition)
validate(BlockStatePropertyLootCondition lootConditions)
m_293216_(C_3000_ p_298673_)
public LootItemConditionType
b()
getType()
method_29325()
m_pfwldqai()
getType()
getType()
m_7940_()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getAllowedParameters()
getRequiredParameters()
m_6231_()
public boolean
a(ewp arg0)
test(LootContext arg0)
method_899(class_47 arg0)
m_qfnbhwjc(C_iakykpgh arg0)
test(LootContext arg0)
test(LootContext context)
test(C_2811_ arg0)
public static LootItemBlockStatePropertyCondition$Builder
a(dkm arg0)
hasBlockStateProperties(Block arg0)
method_900(class_2248 arg0)
m_qlrdhwtv(C_mmxmpdoq arg0)
builder(Block block)
builder(Block block)
m_81769_(C_1706_ p_81770_)
public Holder<Block>
c()
block()
comp_1876()
m_qriyizkv()
block()
block()
f_81759_()
public Optional<StatePropertiesPredicate>
d()
properties()
comp_1877()
m_lsrnkrbd()
properties()
properties()
f_81760_()