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

public record LootItemBlockStatePropertyCondition

implements LootItemCondition

fcp
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

Field summary

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

Constructor summary

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

Method summary

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