Class NoopBlockBehavior

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

public class NoopBlockBehavior extends org.cloudburstmc.api.block.behavior.BlockBehavior
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    getBreakTime​(org.cloudburstmc.api.block.BlockState state, org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.player.Player player)
     
    boolean
    placeBlock​(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.block.BlockState newState, boolean update)
     

    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, getColor, 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, onUpdate, place, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItem

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NoopBlockBehavior

      public NoopBlockBehavior()
  • Method Details

    • placeBlock

      public boolean placeBlock(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.block.BlockState newState, boolean update)
      Specified by:
      placeBlock in class org.cloudburstmc.api.block.behavior.BlockBehavior
    • getBreakTime

      public float getBreakTime(org.cloudburstmc.api.block.BlockState state, org.cloudburstmc.api.item.ItemStack item, org.cloudburstmc.api.player.Player player)
      Specified by:
      getBreakTime in class org.cloudburstmc.api.block.behavior.BlockBehavior