Package ch.njol.skript.util
Class BlockInventoryHolder
java.lang.Object
ch.njol.skript.util.BlockStateBlock
ch.njol.skript.util.BlockInventoryHolder
- All Implemented Interfaces:
net.kyori.adventure.translation.Translatable
,Block
,InventoryHolder
,Metadatable
,Translatable
Main usage is
ExprInventoryInfo
This class allows Skript to return a block while being able to recognize it as InventoryHolder
,
You may only use this class if a expression's return type is an InventoryHolder
.-
Constructor Summary
-
Method Summary
Methods inherited from class ch.njol.skript.util.BlockStateBlock
applyBoneMeal, breakNaturally, breakNaturally, breakNaturally, breakNaturally, breakNaturally, breakNaturally, canPlace, fluidTick, getBiome, getBlockData, getBlockPower, getBlockPower, getBlockSoundGroup, getBoundingBox, getBreakSpeed, getChunk, getCollisionShape, getComputedBiome, getData, getDestroySpeed, getDestroySpeed, getDrops, getDrops, getDrops, getFace, getHumidity, getLightFromBlocks, getLightFromSky, getLightLevel, getLocation, getLocation, getMetadata, getPistonMoveReaction, getRelative, getRelative, getRelative, getSoundGroup, getState, getState, getTemperature, getTranslationKey, getType, getWorld, getX, getY, getZ, hasMetadata, isBlockFaceIndirectlyPowered, isBlockFacePowered, isBlockIndirectlyPowered, isBlockPowered, isBuildable, isBurnable, isCollidable, isEmpty, isLiquid, isPassable, isPreferredTool, isReplaceable, isSolid, isValidTool, randomTick, rayTrace, removeMetadata, setBiome, setBlockData, setBlockData, setMetadata, setType, setType, tick, translationKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.block.Block
getBlockKey
-
Constructor Details
-
BlockInventoryHolder
-
-
Method Details
-
getInventory
- Specified by:
getInventory
in interfaceInventoryHolder
-