Package com.sk89q.worldedit.bukkit
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 com.sk89q.worldedit.extent.inventory.BlockBag
fetchPlacedBlock, peekBlock, storeBlock, storeDroppedBlockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fastasyncworldedit.core.extent.inventory.SlottableBlockBag
getSelectedSlot, size
-
Constructor Details
-
BukkitPlayerBlockBag
Construct the object.- Parameters:
player- the player
-
-
Method Details
-
getPlayer
Get the player.- Returns:
- the player
-
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
-