Uses of Class
com.comphenix.protocol.wrappers.BlockPosition
Packages that use BlockPosition
-
Uses of BlockPosition in com.comphenix.protocol.events
Methods in com.comphenix.protocol.events that return types with arguments of type BlockPositionModifier and TypeMethodDescriptionAbstractStructure.getBlockPositionCollectionModifier()Retrieves a read/write structure for collections of chunk positions.AbstractStructure.getBlockPositionModifier()Retrieves a read/write structure for block positions.AbstractStructure.getSectionPositions()Retrieve a read/write structure for SectionPositions in 1.16.2+ -
Uses of BlockPosition in com.comphenix.protocol.wrappers
Fields in com.comphenix.protocol.wrappers declared as BlockPositionModifier and TypeFieldDescriptionstatic BlockPositionBlockPosition.ORIGINRepresents the null (0, 0, 0) origin.Methods in com.comphenix.protocol.wrappers that return BlockPositionModifier and TypeMethodDescriptionBlockPosition.add(BlockPosition other)Adds the current position and a given position together, producing a result position.BlockPosition.divide(int divisor)Divide each dimension in the current position by the given divisor.MovingObjectPositionBlock.getBlockPosition()BlockPosition.multiply(int factor)Multiply each dimension in the current position by the given factor.BlockPosition.subtract(BlockPosition other)Adds the current position and a given position together, producing a result position.Methods in com.comphenix.protocol.wrappers that return types with arguments of type BlockPositionModifier and TypeMethodDescriptionstatic EquivalentConverter<BlockPosition>BlockPosition.getConverter()Used to convert between NMS ChunkPosition and the wrapper instance.static EquivalentConverter<BlockPosition>BukkitConverters.getSectionPositionConverter()Methods in com.comphenix.protocol.wrappers with parameters of type BlockPositionModifier and TypeMethodDescriptionBlockPosition.add(BlockPosition other)Adds the current position and a given position together, producing a result position.voidMovingObjectPositionBlock.setBlockPosition(BlockPosition position)BlockPosition.subtract(BlockPosition other)Adds the current position and a given position together, producing a result position.Constructors in com.comphenix.protocol.wrappers with parameters of type BlockPositionModifierConstructorDescriptionMovingObjectPositionBlock(BlockPosition position, org.bukkit.util.Vector posVector, EnumWrappers.Direction direction, boolean insideBlock)