Class FallingBlockWatcher
java.lang.Object
me.libraryaddict.disguise.disguisetypes.FlagWatcher
me.libraryaddict.disguise.disguisetypes.watchers.FallingBlockWatcher
- All Implemented Interfaces:
GridLockedWatcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStack
getBlock()
Deprecated.int
org.bukkit.block.data.BlockData
com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState
double
Get the width of the block / 2double
Get the length of the block / 2void
setBlock
(org.bukkit.inventory.ItemStack block) Deprecated.void
setBlockData
(org.bukkit.block.data.BlockData data) void
setBlockState
(com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState state) void
setGridLocked
(boolean gridLocked) Make the plugin start centering this blockMethods inherited from class me.libraryaddict.disguise.disguisetypes.FlagWatcher
addEntityAnimations, convert, getArmor, getBoots, getChestplate, getCustomName, getData, getEntityPose, getEquipment, getHelmet, getItemInMainHand, getItemInOffHand, getItemStack, getLeggings, getTicksFrozen, getWatchableObjects, hasCustomName, hasValue, isAddEntityAnimations, isBurning, isCustomNameVisible, isEntityAnimationsAdded, isFlyingWithElytra, isGlowing, isInvisible, isMainHandRaised, isNoGravity, isPitchLocked, isRightClicking, isSleeping, isSneaking, isSprinting, isSwimming, isYawLocked, rebuildWatchableObjects, sendData, sendData, sendItemStack, setArmor, setBackupValue, setBoots, setBurning, setChestplate, setCustomName, setCustomNameVisible, setData, setDisguise, setEntityFlag, setEntityPose, setFlyingWithElytra, setGlowColor, setGlowing, setHelmet, setInteralCustomName, setInternalCustomNameVisible, setInternalUpsideDown, setInvisible, setItemInHand, setItemInMainHand, setItemInOffHand, setItemStack, setLeggings, setMainHandRaised, setNameYModifier, setNoGravity, setPitchLock, setPitchLocked, setRightClicking, setSleeping, setSneaking, setSprinting, setSwimming, setTicksFrozen, setUnsafeData, setUpsideDown, setYawLock, setYawLocked, setYModifier, updateNameHeight, updatePose
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.libraryaddict.disguise.disguisetypes.watchers.GridLockedWatcher
isGridLocked
-
Constructor Details
-
FallingBlockWatcher
-
-
Method Details
-
clone
- Overrides:
clone
in classFlagWatcher
-
setGridLocked
public void setGridLocked(boolean gridLocked) Description copied from interface:GridLockedWatcher
Make the plugin start centering this block- Specified by:
setGridLocked
in interfaceGridLockedWatcher
- Parameters:
gridLocked
-
-
getBlock
Deprecated. -
setBlock
Deprecated. -
getBlockState
public com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState getBlockState() -
setBlockState
public void setBlockState(com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState state) -
getBlockData
public org.bukkit.block.data.BlockData getBlockData() -
setBlockData
public void setBlockData(org.bukkit.block.data.BlockData data) -
getBlockCombinedId
public int getBlockCombinedId() -
getWidthX
public double getWidthX()Description copied from interface:GridLockedWatcher
Get the width of the block / 2- Specified by:
getWidthX
in interfaceGridLockedWatcher
-
getWidthZ
public double getWidthZ()Description copied from interface:GridLockedWatcher
Get the length of the block / 2- Specified by:
getWidthZ
in interfaceGridLockedWatcher
-