public abstract class BlockBehaviorMushroom extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorMushroom() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(Block block) |
boolean |
canSilkTouch() |
boolean |
canStay(Block block) |
BlockColor |
getColor(Block block) |
protected abstract int |
getType() |
boolean |
grow(Block block) |
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, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBoundingBox, 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 int onUpdate(Block block, int type)
onUpdate 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 canBeActivated(Block block)
canBeActivated in class BlockBehaviorpublic boolean onActivate(Block block, Item item, Player player)
onActivate in class BlockBehaviorpublic boolean grow(Block block)
public boolean canStay(Block block)
public BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic boolean canSilkTouch()
canSilkTouch in class BlockBehaviorprotected abstract int getType()
Copyright © 2020. All rights reserved.