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