Class BlockInput
java.lang.Object
net.minecraft.commands.arguments.blocks.BlockInput
- All Implemented Interfaces:
Predicate<BlockInWorld>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockInput
(BlockState pState, Set<Property<?>> pProperties, CompoundTag pTag) -
Method Summary
Modifier and TypeMethodDescriptiongetState()
boolean
place
(ServerLevel pLevel, BlockPos pPos, int pFlags) boolean
test
(ServerLevel pLevel, BlockPos pPos) boolean
test
(BlockInWorld pBlock)
-
Field Details
-
state
-
properties
-
tag
-
-
Constructor Details
-
BlockInput
-
-
Method Details
-
getState
-
getDefinedProperties
-
test
- Specified by:
test
in interfacePredicate<BlockInWorld>
-
test
-
place
-