public class BlockStateProperty extends java.lang.Object implements ILootCondition
| Modifier and Type | Class and Description |
|---|---|
static class |
BlockStateProperty.Builder |
static class |
BlockStateProperty.Serializer |
ILootCondition.AbstractSerializer<T extends ILootCondition>, ILootCondition.IBuilder| Modifier and Type | Field and Description |
|---|---|
private Block |
block |
private StatePropertiesPredicate |
properties |
| Modifier | Constructor and Description |
|---|---|
private |
BlockStateProperty(Block p_i225896_1_,
StatePropertiesPredicate p_i225896_2_) |
| Modifier and Type | Method and Description |
|---|---|
static BlockStateProperty.Builder |
builder(Block blockIn) |
java.util.Set<LootParameter<?>> |
getRequiredParameters() |
boolean |
test(LootContext p_test_1_) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_225580_a_private final Block block
private final StatePropertiesPredicate properties
private BlockStateProperty(Block p_i225896_1_, StatePropertiesPredicate p_i225896_2_)
public java.util.Set<LootParameter<?>> getRequiredParameters()
getRequiredParameters in interface IParameterizedpublic boolean test(LootContext p_test_1_)
test in interface java.util.function.Predicate<LootContext>public static BlockStateProperty.Builder builder(Block blockIn)