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.ItemStackgetBlock()Deprecated.intorg.bukkit.block.data.BlockDatacom.github.retrooper.packetevents.protocol.world.states.WrappedBlockStatedoubleGet the width of the block / 2doubleGet the length of the block / 2voidsetBlock(org.bukkit.inventory.ItemStack block) Deprecated.voidsetBlockData(org.bukkit.block.data.BlockData data) voidsetBlockState(com.github.retrooper.packetevents.protocol.world.states.WrappedBlockState state) voidsetGridLocked(boolean gridLocked) Make the plugin start centering this blockMethods inherited from class me.libraryaddict.disguise.disguisetypes.FlagWatcher
addEntityAnimations, convert, getArmor, getBoots, getChestplate, getCustomName, getData, getEntityFlag, 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, onPreDisguiseStart, rebuildWatchableObjects, sendData, sendData, sendEntityFlag, 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, updatePoseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.libraryaddict.disguise.disguisetypes.watchers.GridLockedWatcher
isGridLocked
-
Constructor Details
-
FallingBlockWatcher
-
-
Method Details
-
clone
- Overrides:
clonein classFlagWatcher
-
setGridLocked
public void setGridLocked(boolean gridLocked) Description copied from interface:GridLockedWatcherMake the plugin start centering this block- Specified by:
setGridLockedin 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:GridLockedWatcherGet the width of the block / 2- Specified by:
getWidthXin interfaceGridLockedWatcher
-
getWidthZ
public double getWidthZ()Description copied from interface:GridLockedWatcherGet the length of the block / 2- Specified by:
getWidthZin interfaceGridLockedWatcher
-