Package net.minecraft.loot.conditions
Class BlockStateProperty
java.lang.Object
net.minecraft.loot.conditions.BlockStateProperty
- All Implemented Interfaces:
Predicate<LootContext>,ILootCondition,IParameterized
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface net.minecraft.loot.conditions.ILootCondition
ILootCondition.IBuilder -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBlockStateProperty(Block p_i225896_1_, StatePropertiesPredicate p_i225896_2_) -
Method Summary
Modifier and TypeMethodDescriptionSet<LootParameter<?>>getType()static BlockStateProperty.BuilderhasBlockStateProperties(Block p_215985_0_) booleantest(LootContext p_test_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.IParameterized
validate
-
Field Details
-
block
-
properties
-
-
Constructor Details
-
BlockStateProperty
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceILootCondition
-
getReferencedContextParams
- Specified by:
getReferencedContextParamsin interfaceIParameterized
-
test
- Specified by:
testin interfacePredicate<LootContext>
-
hasBlockStateProperties
-