public class BlockBehaviorFlowerPot extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorFlowerPot() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(Block block) |
boolean |
canPassThrough() |
protected static boolean |
canPlaceIntoFlowerPot(Identifier id) |
boolean |
canWaterlogSource() |
Item[] |
getDrops(Block block,
Item hand) |
float |
getHardness() |
float |
getResistance() |
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) |
Item |
toItem(Block block) |
canBeFlooded, getBoundingBox, isSolidgetColor, isTransparentaddVelocityToEntity, canBeBrokenWith, canBeClimbed, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canSilkTouch, canWaterlogFlowing, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, onActivate, onBreak, onBreak, onEntityCollide, onUpdate, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRateprotected static boolean canPlaceIntoFlowerPot(Identifier id)
public float getHardness()
getHardness in class FloodableBlockBehaviorpublic float getResistance()
getResistance in class FloodableBlockBehaviorpublic boolean place(Item item, Block block, Block target, Direction face, com.nukkitx.math.vector.Vector3f clickPos, Player player)
place in class BlockBehaviorpublic boolean canBeActivated(Block block)
canBeActivated in class BlockBehaviorpublic boolean onActivate(Block block, Item item, Player player)
onActivate in class BlockBehaviorpublic Item[] getDrops(Block block, Item hand)
getDrops in class BlockBehaviorpublic boolean canPassThrough()
canPassThrough in class FloodableBlockBehaviorpublic Item toItem(Block block)
toItem in class BlockBehaviorpublic boolean canWaterlogSource()
canWaterlogSource in class BlockBehaviorCopyright © 2020. All rights reserved.