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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
fetchBlock
(BlockState blockState) void
getItem
(int slot) Get the player.void
void
storeBlock
(BlockState blockState, int amount) Methods inherited from class com.sk89q.worldedit.extent.inventory.BlockBag
fetchPlacedBlock, peekBlock, storeBlock, storeDroppedBlock
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
fetchBlock
in classBlockBag
- Throws:
BlockBagException
-
storeBlock
- Specified by:
storeBlock
in classBlockBag
- Throws:
BlockBagException
-
flushChanges
public void flushChanges()- Specified by:
flushChanges
in classBlockBag
-
addSourcePosition
- Specified by:
addSourcePosition
in classBlockBag
-
addSingleSourcePosition
- Specified by:
addSingleSourcePosition
in classBlockBag
-
getItem
- Specified by:
getItem
in interfaceSlottableBlockBag
-
setItem
- Specified by:
setItem
in interfaceSlottableBlockBag
-