public class BlockBehaviorPumpkin extends BlockBehaviorSolid
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
type |
| Constructor and Description |
|---|
BlockBehaviorPumpkin(Identifier type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePushed() |
BlockColor |
getColor(Block block) |
float |
getHardness() |
float |
getResistance() |
int |
getToolType() |
boolean |
place(Item item,
Block block,
Block target,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
Player player) |
Item |
toItem(Block block) |
isSolidaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, 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, isTransparent, onActivate, onActivate, onBreak, onBreak, onEntityCollide, onUpdate, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRateprotected final Identifier type
public BlockBehaviorPumpkin(Identifier type)
public float getHardness()
getHardness in class BlockBehaviorpublic float getResistance()
getResistance in class BlockBehaviorpublic int getToolType()
getToolType in class BlockBehaviorpublic Item toItem(Block block)
toItem 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 BlockColor getColor(Block block)
getColor in class BlockBehaviorSolidpublic boolean canBePushed()
canBePushed in class BlockBehaviorCopyright © 2020. All rights reserved.