public class BlockBehaviorRedstoneTorch extends BlockBehaviorTorch
| Constructor and Description |
|---|
BlockBehaviorRedstoneTorch() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkState(Block block) |
BlockColor |
getColor(Block block) |
int |
getLightLevel(Block block) |
int |
getStrongPower(Block block,
Direction side) |
int |
getWeakPower(Block block,
Direction side) |
protected boolean |
isPoweredFromSide(Block block) |
boolean |
isPowerSource(Block block) |
boolean |
onBreak(Block block,
Item item) |
int |
onUpdate(Block block,
int type) |
boolean |
place(Item item,
Block block,
Block target,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
Player player) |
int |
tickRate() |
getBlockFace, getBlockFace, toItemcanBeFlooded, 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, getToolType, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, onActivate, onActivate, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlockpublic int getLightLevel(Block block)
getLightLevel in class BlockBehaviorTorchpublic boolean place(Item item, Block block, Block target, Direction face, com.nukkitx.math.vector.Vector3f clickPos, Player player)
place in class BlockBehaviorTorchpublic int getWeakPower(Block block, Direction side)
getWeakPower in class BlockBehaviorpublic int getStrongPower(Block block, Direction side)
getStrongPower in class BlockBehaviorpublic boolean onBreak(Block block, Item item)
onBreak in class BlockBehaviorpublic int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorTorchprotected boolean checkState(Block block)
protected boolean isPoweredFromSide(Block block)
public int tickRate()
tickRate in class BlockBehaviorpublic boolean isPowerSource(Block block)
isPowerSource in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTorchCopyright © 2020. All rights reserved.