public class WaterSourceGrabber
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WaterSourceGrabber.AnimationState |
Constructor and Description |
---|
WaterSourceGrabber(org.bukkit.entity.Player player,
org.bukkit.Location origin) |
WaterSourceGrabber(org.bukkit.entity.Player player,
org.bukkit.Location origin,
double animationSpeed) |
Modifier and Type | Method and Description |
---|---|
void |
createBlock(org.bukkit.block.Block block,
org.bukkit.Material mat) |
void |
createBlock(org.bukkit.block.Block block,
org.bukkit.Material mat,
byte data) |
java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,TempBlock> |
getAffectedBlocks() |
double |
getAnimimationSpeed() |
org.bukkit.Location |
getCurrentLoc() |
byte |
getData() |
org.bukkit.Material |
getMaterial() |
org.bukkit.entity.Player |
getPlayer() |
WaterSourceGrabber.AnimationState |
getState() |
void |
progress() |
void |
remove() |
void |
revertBlocks() |
void |
setAnimimationSpeed(double animimationSpeed) |
void |
setCurrentLoc(org.bukkit.Location currentLoc) |
void |
setData(byte data) |
void |
setMaterial(org.bukkit.Material material) |
void |
setPlayer(org.bukkit.entity.Player player) |
void |
setState(WaterSourceGrabber.AnimationState state) |
public WaterSourceGrabber(org.bukkit.entity.Player player, org.bukkit.Location origin)
public WaterSourceGrabber(org.bukkit.entity.Player player, org.bukkit.Location origin, double animationSpeed)
public void progress()
public WaterSourceGrabber.AnimationState getState()
public void remove()
public void revertBlocks()
public void createBlock(org.bukkit.block.Block block, org.bukkit.Material mat)
public void createBlock(org.bukkit.block.Block block, org.bukkit.Material mat, byte data)
public org.bukkit.entity.Player getPlayer()
public void setPlayer(org.bukkit.entity.Player player)
public byte getData()
public void setData(byte data)
public double getAnimimationSpeed()
public void setAnimimationSpeed(double animimationSpeed)
public org.bukkit.Material getMaterial()
public void setMaterial(org.bukkit.Material material)
public org.bukkit.Location getCurrentLoc()
public void setCurrentLoc(org.bukkit.Location currentLoc)
public java.util.concurrent.ConcurrentHashMap<org.bukkit.block.Block,TempBlock> getAffectedBlocks()
public void setState(WaterSourceGrabber.AnimationState state)