Class BlockHandler.PlayerPlacement
java.lang.Object
net.minestom.server.instance.block.BlockHandler.Placement
net.minestom.server.instance.block.BlockHandler.PlayerPlacement
- Enclosing interface:
BlockHandler
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerPlacement(Block block, Instance instance, net.minestom.server.coordinate.Point blockPosition, Player player, Player.Hand hand, net.minestom.server.instance.block.BlockFace blockFace, float cursorX, float cursorY, float cursorZ) -
Method Summary
Methods inherited from class net.minestom.server.instance.block.BlockHandler.Placement
getBlock, getBlockPosition, getInstance
-
Constructor Details
-
PlayerPlacement
@Internal public PlayerPlacement(Block block, Instance instance, net.minestom.server.coordinate.Point blockPosition, Player player, Player.Hand hand, net.minestom.server.instance.block.BlockFace blockFace, float cursorX, float cursorY, float cursorZ)
-
-
Method Details
-
getPlayer
-
getHand
-
getBlockFace
@NotNull public @NotNull net.minestom.server.instance.block.BlockFace getBlockFace() -
getCursorX
public float getCursorX() -
getCursorY
public float getCursorY() -
getCursorZ
public float getCursorZ()
-