public class BlockBehaviorTNT extends BlockBehaviorSolid
| Constructor and Description |
|---|
BlockBehaviorTNT() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(Block block) |
int |
getBurnAbility() |
int |
getBurnChance() |
BlockColor |
getColor(Block block) |
float |
getHardness() |
float |
getResistance() |
boolean |
onActivate(Block block,
Item item,
Player player) |
int |
onUpdate(Block block,
int type) |
void |
prime(Block block) |
void |
prime(Block block,
int fuse) |
void |
prime(Block block,
int fuse,
Entity source) |
isSolidaddVelocityToEntity, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBreakTime, getBreakTime, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, isTransparent, onActivate, onBreak, onBreak, onEntityCollide, place, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItempublic float getHardness()
getHardness in class BlockBehaviorpublic float getResistance()
getResistance in class BlockBehaviorpublic boolean canBeActivated(Block block)
canBeActivated in class BlockBehaviorpublic int getBurnChance()
getBurnChance in class BlockBehaviorpublic int getBurnAbility()
getBurnAbility in class BlockBehaviorpublic void prime(Block block)
public void prime(Block block, int fuse)
public int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorpublic boolean onActivate(Block block, Item item, Player player)
onActivate in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorSolidCopyright © 2020. All rights reserved.