public class BlockBehaviorCarpet extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorCarpet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPassThrough() |
boolean |
canWaterlogSource() |
BlockColor |
getColor(Block block) |
DyeColor |
getDyeColor(Block block) |
float |
getHardness() |
float |
getResistance() |
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) |
canBeFlooded, getBoundingBoxisTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canSilkTouch, canWaterlogFlowing, 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, onActivate, onBreak, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItempublic float getHardness()
getHardness in class FloodableBlockBehaviorpublic float getResistance()
getResistance in class FloodableBlockBehaviorpublic boolean isSolid()
isSolid in class FloodableBlockBehaviorpublic boolean canPassThrough()
canPassThrough 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 int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic boolean canWaterlogSource()
canWaterlogSource in class BlockBehaviorCopyright © 2020. All rights reserved.