| Package | Description |
|---|---|
| com.comphenix.protocol.events | |
| com.comphenix.protocol.wrappers |
| Modifier and Type | Method and Description |
|---|---|
StructureModifier<List<BlockPosition>> |
PacketContainer.getBlockPositionCollectionModifier()
Retrieves a read/write structure for collections of chunk positions.
|
StructureModifier<BlockPosition> |
PacketContainer.getBlockPositionModifier()
Retrieves a read/write structure for block positions.
|
| Modifier and Type | Field and Description |
|---|---|
static BlockPosition |
BlockPosition.ORIGIN
Represents the null (0, 0, 0) origin.
|
| Modifier and Type | Method and Description |
|---|---|
BlockPosition |
BlockPosition.add(BlockPosition other)
Adds the current position and a given position together, producing a result position.
|
BlockPosition |
BlockPosition.divide(int divisor)
Divide each dimension in the current position by the given divisor.
|
BlockPosition |
BlockPosition.multiply(int factor)
Multiply each dimension in the current position by the given factor.
|
BlockPosition |
BlockPosition.subtract(BlockPosition other)
Adds the current position and a given position together, producing a result position.
|
| Modifier and Type | Method and Description |
|---|---|
static EquivalentConverter<BlockPosition> |
BlockPosition.getConverter()
Used to convert between NMS ChunkPosition and the wrapper instance.
|
| Modifier and Type | Method and Description |
|---|---|
BlockPosition |
BlockPosition.add(BlockPosition other)
Adds the current position and a given position together, producing a result position.
|
BlockPosition |
BlockPosition.subtract(BlockPosition other)
Adds the current position and a given position together, producing a result position.
|
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.