Package net.minecraft.command.arguments
Class BlockStateInput
java.lang.Object
net.minecraft.command.arguments.BlockStateInput
- All Implemented Interfaces:
Predicate<CachedBlockInfo>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBlockStateInput
(BlockState p_i47967_1_, Set<Property<?>> p_i47967_2_, CompoundNBT p_i47967_3_) -
Method Summary
Modifier and TypeMethodDescriptiongetState()
boolean
place
(ServerWorld p_197230_1_, BlockPos p_197230_2_, int p_197230_3_) boolean
test
(CachedBlockInfo p_test_1_)
-
Field Details
-
state
-
properties
-
tag
-
-
Constructor Details
-
BlockStateInput
public BlockStateInput(BlockState p_i47967_1_, Set<Property<?>> p_i47967_2_, @Nullable CompoundNBT p_i47967_3_)
-
-
Method Details
-
getState
-
test
- Specified by:
test
in interfacePredicate<CachedBlockInfo>
-
place
-