public class BlockBehaviorSlab extends BlockBehaviorTransparent
| Constructor and Description |
|---|
BlockBehaviorSlab() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWaterlogSource(org.cloudburstmc.api.block.BlockState state) |
org.cloudburstmc.api.util.data.BlockColor |
getColor(org.cloudburstmc.api.block.Block block) |
int |
getFilterLevel(org.cloudburstmc.api.block.BlockState state) |
boolean |
isSolid(org.cloudburstmc.api.block.BlockState state) |
boolean |
place(org.cloudburstmc.api.item.ItemStack item,
org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.block.Block target,
org.cloudburstmc.api.util.Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
org.cloudburstmc.api.player.Player player) |
protected void |
playDoublePlaceSound(org.cloudburstmc.api.block.Block block) |
org.cloudburstmc.api.item.ItemStack |
toItem(org.cloudburstmc.api.block.Block block) |
getBreakTime, placeBlockaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, checkTool, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBoundingBox, getBurnAbility, getBurnChance, getCollisionBoxes, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFrictionFactor, getHardness, getLightLevel, getMinimalTier, getResistance, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, isTransparent, onActivate, onActivate, onBreak, onBreak, onEntityCollide, onUpdate, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRatepublic org.cloudburstmc.api.util.data.BlockColor getColor(org.cloudburstmc.api.block.Block block)
getColor in class BlockBehaviorTransparentpublic org.cloudburstmc.api.item.ItemStack toItem(org.cloudburstmc.api.block.Block block)
toItem in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic boolean place(org.cloudburstmc.api.item.ItemStack item,
org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.block.Block target,
org.cloudburstmc.api.util.Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
org.cloudburstmc.api.player.Player player)
place in class org.cloudburstmc.api.block.behavior.BlockBehaviorprotected void playDoublePlaceSound(org.cloudburstmc.api.block.Block block)
public boolean isSolid(org.cloudburstmc.api.block.BlockState state)
isSolid in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic int getFilterLevel(org.cloudburstmc.api.block.BlockState state)
getFilterLevel in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic boolean canWaterlogSource(org.cloudburstmc.api.block.BlockState state)
canWaterlogSource in class org.cloudburstmc.api.block.behavior.BlockBehaviorCopyright © 2021. All rights reserved.