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