public class BlockBehaviorDoorIron extends BlockBehaviorDoor
DOOR_HINGE_BIT, DOOR_OPEN_BIT, DOOR_POWERED_BIT, DOOR_TOP_BIT| Constructor and Description |
|---|
BlockBehaviorDoorIron() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(Block block) |
boolean |
canHarvestWithHand() |
BlockColor |
getColor(Block block) |
Item[] |
getDrops(Block block,
Item hand) |
float |
getHardness() |
float |
getResistance() |
int |
getToolType() |
boolean |
onActivate(Block block,
Item item,
Player player) |
Item |
toItem(Block block) |
canWaterlogSource, isOpen, isRightHinged, isSolid, isTop, onBreak, onUpdate, place, toggleisTransparentaddVelocityToEntity, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canPassThrough, canSilkTouch, canWaterlogFlowing, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, onActivate, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRatepublic boolean canBeActivated(Block block)
canBeActivated in class BlockBehaviorDoorpublic float getHardness()
getHardness in class BlockBehaviorpublic float getResistance()
getResistance in class BlockBehaviorpublic int getToolType()
getToolType in class BlockBehaviorpublic Item[] getDrops(Block block, Item hand)
getDrops in class BlockBehaviorpublic Item toItem(Block block)
toItem in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic boolean onActivate(Block block, Item item, Player player)
onActivate in class BlockBehaviorDoorpublic boolean canHarvestWithHand()
canHarvestWithHand in class BlockBehaviorCopyright © 2020. All rights reserved.