public class BlockBehaviorWall extends BlockBehaviorTransparent
| Constructor and Description |
|---|
BlockBehaviorWall() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHarvestWithHand() |
boolean |
canWaterlogSource() |
protected Map<Direction,WallConnectionType> |
findConnections(Block block) |
EnumBlockTrait<WallConnectionType> |
getConnectionTypeTrait(Direction direction) |
float |
getHardness() |
float |
getResistance() |
int |
getToolType() |
boolean |
isSolid() |
int |
onUpdate(Block block,
int type) |
boolean |
place(Item item,
Block block,
Block target,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
Player player) |
getColor, isTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canPassThrough, canSilkTouch, canWaterlogFlowing, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, onActivate, onActivate, onBreak, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItempublic boolean isSolid()
isSolid in class BlockBehaviorpublic float getHardness()
getHardness in class BlockBehaviorpublic float getResistance()
getResistance in class BlockBehaviorpublic int getToolType()
getToolType in class BlockBehaviorpublic boolean canHarvestWithHand()
canHarvestWithHand in class BlockBehaviorpublic boolean canWaterlogSource()
canWaterlogSource in class BlockBehaviorpublic EnumBlockTrait<WallConnectionType> getConnectionTypeTrait(Direction direction)
protected Map<Direction,WallConnectionType> findConnections(Block block)
public int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorCopyright © 2020. All rights reserved.