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