Package net.minecraft.loot.conditions
Class BlockStateProperty.Builder
- java.lang.Object
-
- net.minecraft.loot.conditions.BlockStateProperty.Builder
-
- All Implemented Interfaces:
ILootCondition.IBuilder
- Enclosing class:
- BlockStateProperty
public static class BlockStateProperty.Builder extends java.lang.Object implements ILootCondition.IBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private Block
block
private StatePropertiesPredicate
properties
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILootCondition
build()
BlockStateProperty.Builder
setProperties(StatePropertiesPredicate.Builder p_227567_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.loot.conditions.ILootCondition.IBuilder
invert, or
-
-
-
-
Field Detail
-
block
private final Block block
-
properties
private StatePropertiesPredicate properties
-
-
Constructor Detail
-
Builder
public Builder(Block p_i50576_1_)
-
-
Method Detail
-
setProperties
public BlockStateProperty.Builder setProperties(StatePropertiesPredicate.Builder p_227567_1_)
-
build
public ILootCondition build()
- Specified by:
build
in interfaceILootCondition.IBuilder
-
-