Class BlockBehaviorWall

java.lang.Object
org.cloudburstmc.api.block.behavior.BlockBehavior

public class BlockBehaviorWall extends BlockBehaviorTransparent
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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)
     
    int
    onUpdate​(org.cloudburstmc.api.block.Block block, int type)
     
    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)
     

    Methods inherited from class org.cloudburstmc.server.block.behavior.BlockBehaviorTransparent

    getColor

    Methods inherited from class org.cloudburstmc.server.block.behavior.BaseBlockBehavior

    getBreakTime, placeBlock

    Methods 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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      onUpdate in class org.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:
      place in class org.cloudburstmc.api.block.behavior.BlockBehavior