public class BlockBehaviorEnchantingTable extends BlockBehaviorTransparent
| Constructor and Description |
|---|
BlockBehaviorEnchantingTable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(Block block) |
boolean |
canHarvestWithHand() |
boolean |
canWaterlogSource() |
BlockColor |
getColor(Block block) |
Item[] |
getDrops(Block block,
Item hand) |
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, canBePushed, canBeReplaced, canPassThrough, canSilkTouch, canWaterlogFlowing, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, 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 int getToolType()
getToolType in class BlockBehaviorpublic float getHardness()
getHardness in class BlockBehaviorpublic float getResistance()
getResistance in class BlockBehaviorpublic int getLightLevel(Block block)
getLightLevel in class BlockBehaviorpublic boolean canBeActivated(Block block)
canBeActivated in class BlockBehaviorpublic Item[] getDrops(Block block, Item hand)
getDrops 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 onActivate(Block block, Item item, Player player)
onActivate in class BlockBehaviorpublic boolean canHarvestWithHand()
canHarvestWithHand in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic boolean canWaterlogSource()
canWaterlogSource in class BlockBehaviorCopyright © 2020. All rights reserved.