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