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