Class LootItemBlockStatePropertyCondition
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LootItemBlockStatePropertyCondition
- All Implemented Interfaces:
 Predicate<LootContext>,LootContextUser,LootItemCondition
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class - 
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Block(package private) final StatePropertiesPredicate - 
Constructor Summary
ConstructorsConstructorDescriptionLootItemBlockStatePropertyCondition(Block p_81762_, StatePropertiesPredicate p_81763_)  - 
Method Summary
Modifier and TypeMethodDescriptionSet<LootContextParam<?>>getType()hasBlockStateProperties(Block p_81770_) booleantest(LootContext p_81772_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.storage.loot.LootContextUser
validate 
- 
Field Details
- 
block
 - 
properties
 
 - 
 - 
Constructor Details
- 
LootItemBlockStatePropertyCondition
LootItemBlockStatePropertyCondition(Block p_81762_, StatePropertiesPredicate p_81763_)  
 - 
 - 
Method Details
- 
getType
- Specified by:
 getTypein interfaceLootItemCondition
 - 
getReferencedContextParams
- Specified by:
 getReferencedContextParamsin interfaceLootContextUser
 - 
test
- Specified by:
 testin interfacePredicate<LootContext>
 - 
hasBlockStateProperties
 
 -