Class BlockBehaviorWall
java.lang.Object
org.cloudburstmc.api.block.behavior.BlockBehavior
org.cloudburstmc.server.block.behavior.BaseBlockBehavior
org.cloudburstmc.server.block.behavior.BlockBehaviorTransparent
org.cloudburstmc.server.block.behavior.BlockBehaviorWall
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<org.cloudburstmc.api.util.Direction,org.cloudburstmc.api.util.data.WallConnectionType>findConnections(org.cloudburstmc.api.block.Block block)org.cloudburstmc.api.block.trait.EnumBlockTrait<org.cloudburstmc.api.util.data.WallConnectionType>getConnectionTypeTrait(org.cloudburstmc.api.util.Direction direction)intonUpdate(org.cloudburstmc.api.block.Block block, int type)booleanplace(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)Methods inherited from class org.cloudburstmc.server.block.behavior.BlockBehaviorTransparent
getColorMethods inherited from class org.cloudburstmc.server.block.behavior.BaseBlockBehavior
getBreakTime, placeBlockMethods inherited from class org.cloudburstmc.api.block.behavior.BlockBehavior
addVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, checkTool, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBoundingBox, getBurnAbility, getBurnChance, getCollisionBoxes, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getHardness, getLightLevel, getMinimalTier, getResistance, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, isSolid, isTransparent, onActivate, onActivate, onBreak, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItem
-
Constructor Details
-
BlockBehaviorWall
public BlockBehaviorWall()
-
-
Method Details
-
getConnectionTypeTrait
public org.cloudburstmc.api.block.trait.EnumBlockTrait<org.cloudburstmc.api.util.data.WallConnectionType> getConnectionTypeTrait(org.cloudburstmc.api.util.Direction direction) -
findConnections
protected Map<org.cloudburstmc.api.util.Direction,org.cloudburstmc.api.util.data.WallConnectionType> findConnections(org.cloudburstmc.api.block.Block block) -
onUpdate
public int onUpdate(org.cloudburstmc.api.block.Block block, int type)- Overrides:
onUpdatein classorg.cloudburstmc.api.block.behavior.BlockBehavior
-
place
public 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)- Overrides:
placein classorg.cloudburstmc.api.block.behavior.BlockBehavior
-