public class BlockBehaviorFire extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorFire() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeReplaced(Block block) |
static boolean |
canNeighborBurn(Block block) |
BlockColor |
getColor(Block block) |
Item[] |
getDrops(Block block,
Item hand) |
int |
getLightLevel(Block block) |
boolean |
hasEntityCollision() |
static boolean |
isBlockTopFacingSurfaceSolid(BlockState state) |
boolean |
isBreakable(Item item) |
void |
onEntityCollide(Block block,
Entity entity) |
int |
onUpdate(Block block,
int type) |
int |
tickRate() |
Item |
toItem(Block block) |
canBeFlooded, canPassThrough, getBoundingBox, getHardness, getResistance, isSolidisTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBePlaced, canBePushed, canHarvestWithHand, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getFilterLevel, getFrictionFactor, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, isLiquid, isNormalBlock, isPowerSource, onActivate, onActivate, onBreak, onBreak, place, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlockpublic boolean hasEntityCollision()
hasEntityCollision in class BlockBehaviorpublic int getLightLevel(Block block)
getLightLevel in class BlockBehaviorpublic boolean isBreakable(Item item)
isBreakable in class BlockBehaviorpublic boolean canBeReplaced(Block block)
canBeReplaced in class BlockBehaviorpublic void onEntityCollide(Block block, Entity entity)
onEntityCollide in class BlockBehaviorpublic Item[] getDrops(Block block, Item hand)
getDrops in class BlockBehaviorpublic int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorpublic static boolean canNeighborBurn(Block block)
public static boolean isBlockTopFacingSurfaceSolid(BlockState state)
public int tickRate()
tickRate in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic Item toItem(Block block)
toItem in class BlockBehaviorCopyright © 2020. All rights reserved.