Class BlockBehaviorFire


public class BlockBehaviorFire extends FloodableBlockBehavior
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    canNeighborBurn​(org.cloudburstmc.api.block.Block block)
     
    org.cloudburstmc.api.util.data.BlockColor
    getColor​(org.cloudburstmc.api.block.Block block)
     
    org.cloudburstmc.api.item.ItemStack[]
    getDrops​(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.item.ItemStack hand)
     
    boolean
     
    static boolean
    isBlockTopFacingSurfaceSolid​(org.cloudburstmc.api.block.BlockState state)
     
    void
    onEntityCollide​(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.entity.Entity entity)
     
    int
    onUpdate​(org.cloudburstmc.api.block.Block block, int type)
     
    int
     
    org.cloudburstmc.api.item.ItemStack
    toItem​(org.cloudburstmc.api.block.Block block)
     

    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, getFilterLevel, getFrictionFactor, getHardness, getLightLevel, getMinimalTier, getResistance, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, isBreakable, isLiquid, isNormalBlock, isPowerSource, isSolid, isTransparent, onActivate, onActivate, onBreak, onBreak, place, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock

    Methods inherited from class java.lang.Object

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

    • BlockBehaviorFire

      public BlockBehaviorFire()
  • Method Details

    • hasEntityCollision

      public boolean hasEntityCollision()
      Overrides:
      hasEntityCollision in class org.cloudburstmc.api.block.behavior.BlockBehavior
    • onEntityCollide

      public void onEntityCollide(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.entity.Entity entity)
      Overrides:
      onEntityCollide in class org.cloudburstmc.api.block.behavior.BlockBehavior
    • getDrops

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

      public int onUpdate(org.cloudburstmc.api.block.Block block, int type)
      Overrides:
      onUpdate in class org.cloudburstmc.api.block.behavior.BlockBehavior
    • canNeighborBurn

      public static boolean canNeighborBurn(org.cloudburstmc.api.block.Block block)
    • isBlockTopFacingSurfaceSolid

      public static boolean isBlockTopFacingSurfaceSolid(org.cloudburstmc.api.block.BlockState state)
    • tickRate

      public int tickRate()
      Overrides:
      tickRate in class org.cloudburstmc.api.block.behavior.BlockBehavior
    • getColor

      public org.cloudburstmc.api.util.data.BlockColor getColor(org.cloudburstmc.api.block.Block block)
      Overrides:
      getColor in class BlockBehaviorTransparent
    • toItem

      public org.cloudburstmc.api.item.ItemStack toItem(org.cloudburstmc.api.block.Block block)
      Overrides:
      toItem in class org.cloudburstmc.api.block.behavior.BlockBehavior