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.loot.condition.BlockStatePropertyLootCondition
net.minecraft.world.level.storage.loot.predicates.LootItemConditionBlockStateProperty

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<LootItemBlockStatePropertyCondition>
a(ezx arg0)
validate(LootItemBlockStatePropertyCondition arg0)
method_53418(class_212 arg0)
validateHasProperties(BlockStatePropertyLootCondition condition)
public LootItemConditionType
b()
getType()
method_29325()
getType()
public Set<ContextKey<?>>
a()
getReferencedContextParams()
method_293()
getAllowedParameters()
public boolean
a(ewp arg0)
test(LootContext arg0)
method_899(class_47 arg0)
test(LootContext arg0)
public static LootItemBlockStatePropertyCondition$Builder
a(dkm arg0)
hasBlockStateProperties(Block arg0)
method_900(class_2248 arg0)
builder(Block block)
public Holder<Block>
c()
block()
comp_1876()
block()
public Optional<StatePropertiesPredicate>
d()
properties()
comp_1877()
properties()