Class BlockBehaviorMobSpawner

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

public class BlockBehaviorMobSpawner extends BlockBehaviorSolid
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    org.cloudburstmc.api.item.ItemStack[]
    getDrops​(org.cloudburstmc.api.block.Block blockState, org.cloudburstmc.api.item.ItemStack hand)
     

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

    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, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, checkTool, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBoundingBox, getBurnAbility, getBurnChance, getCollisionBoxes, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, 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
  • Constructor Details

    • BlockBehaviorMobSpawner

      public BlockBehaviorMobSpawner()
  • Method Details

    • getDrops

      public org.cloudburstmc.api.item.ItemStack[] getDrops(org.cloudburstmc.api.block.Block blockState, org.cloudburstmc.api.item.ItemStack hand)
      Overrides:
      getDrops in class org.cloudburstmc.api.block.behavior.BlockBehavior
    • canBePushed

      public boolean canBePushed()
      Overrides:
      canBePushed in class org.cloudburstmc.api.block.behavior.BlockBehavior