public class BukkitPlayerBlockBag extends BlockBag
| Constructor and Description |
|---|
BukkitPlayerBlockBag(org.bukkit.entity.Player player)
Construct the object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSingleSourcePosition(WorldVector pos)
Adds a position to be used a source.
|
void |
addSourcePosition(WorldVector pos)
Adds a position to be used a source.
|
void |
fetchItem(BaseItem item)
Get a block.
|
void |
flushChanges()
Flush any changes.
|
org.bukkit.entity.Player |
getPlayer()
Get the player.
|
void |
storeItem(BaseItem item)
Store a block.
|
fetchBlock, fetchPlacedBlock, fetchPlacedBlock, peekBlock, storeBlock, storeDroppedBlock, storeDroppedBlockpublic BukkitPlayerBlockBag(org.bukkit.entity.Player player)
player - public org.bukkit.entity.Player getPlayer()
public void fetchItem(BaseItem item) throws BlockBagException
fetchItem in class BlockBagid - BlockBagExceptionpublic void storeItem(BaseItem item) throws BlockBagException
storeItem in class BlockBagid - BlockBagExceptionpublic void flushChanges()
flushChanges in class BlockBagpublic void addSourcePosition(WorldVector pos)
addSourcePosition in class BlockBagpos - public void addSingleSourcePosition(WorldVector pos)
addSingleSourcePosition in class BlockBagpos - Copyright © 2010-2014. All Rights Reserved.