public class BlockBehaviorTorch extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorTorch() |
| Modifier and Type | Method and Description |
|---|---|
Direction |
getBlockFace(BlockState state) |
Direction |
getBlockFace(int meta) |
BlockColor |
getColor(Block block) |
int |
getLightLevel(Block block) |
int |
onUpdate(Block block,
int type) |
boolean |
place(Item item,
Block block,
Block target,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
Player player) |
Item |
toItem(Block block) |
canBeFlooded, canPassThrough, getBoundingBox, getHardness, getResistance, isSolidisTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, onActivate, onActivate, onBreak, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRatepublic int getLightLevel(Block block)
getLightLevel in class BlockBehaviorpublic int onUpdate(Block block, int type)
onUpdate 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 toItem(Block block)
toItem in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic Direction getBlockFace(BlockState state)
public Direction getBlockFace(int meta)
Copyright © 2020. All rights reserved.