Class BukkitPlayerBlockBag
java.lang.Object
com.sk89q.worldedit.extent.inventory.BlockBag
com.sk89q.worldedit.bukkit.BukkitPlayerBlockBag
- All Implemented Interfaces:
SlottableBlockBag
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidfetchBlock(BlockState blockState) voidgetItem(int slot) Get the player.voidvoidstoreBlock(BlockState blockState, int amount) Methods inherited from class BlockBag
fetchPlacedBlock, peekBlock, storeBlock, storeDroppedBlockMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface SlottableBlockBag
getSelectedSlot, size
-
Constructor Details
-
BukkitPlayerBlockBag
-
-
Method Details
-
getPlayer
-
fetchBlock
- Specified by:
fetchBlockin classBlockBag- Throws:
BlockBagException
-
storeBlock
- Specified by:
storeBlockin classBlockBag- Throws:
BlockBagException
-
flushChanges
public void flushChanges()- Specified by:
flushChangesin classBlockBag
-
addSourcePosition
- Specified by:
addSourcePositionin classBlockBag
-
addSingleSourcePosition
- Specified by:
addSingleSourcePositionin classBlockBag
-
getItem
- Specified by:
getItemin interfaceSlottableBlockBag
-
setItem
- Specified by:
setItemin interfaceSlottableBlockBag
-