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