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

public record LootItemBlockStatePropertyCondition

implements LootItemCondition

efo
net.minecraft.world.level.storage.loot.predicates.LootItemBlockStatePropertyCondition
net.minecraft.class_212
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
block
f_81759_
private final Optional<StatePropertiesPredicate>
c
properties
comp_1877
properties
f_81760_
public static final com.mojang.serialization.Codec<LootItemBlockStatePropertyCondition>
a
CODEC
field_45868
CODEC
f_291798_

Constructor summary

ModifierConstructor
public (Holder<Block> f_81760_, Optional<StatePropertiesPredicate> arg1)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<LootItemBlockStatePropertyCondition>
a(efo arg0)
validate(LootItemBlockStatePropertyCondition arg0)
method_53418(class_212 arg0)
validateHasProperties(BlockStatePropertyLootCondition condition)
m_293216_(C_3000_ p_298673_)
public LootItemConditionType
b()
getType()
method_29325()
getType()
m_7940_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public boolean
a(ecq arg0)
test(LootContext arg0)
method_899(class_47 arg0)
test(LootContext arg0)
test(C_2811_ arg0)
public static LootItemBlockStatePropertyCondition$Builder
a(csv arg0)
hasBlockStateProperties(Block arg0)
method_900(class_2248 arg0)
builder(Block block)
m_81769_(C_1706_ p_81770_)
public Holder<Block>
c()
block()
comp_1876()
block()
f_81759_()
public Optional<StatePropertiesPredicate>
d()
properties()
comp_1877()
properties()
f_81760_()