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