public class BlockBehaviorTripWire extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorTripWire() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPassThrough() |
boolean |
canWaterlogFlowing() |
boolean |
canWaterlogSource() |
AxisAlignedBB |
getBoundingBox() |
float |
getHardness() |
float |
getResistance() |
boolean |
isAttached(BlockState state) |
boolean |
isDisarmed(BlockState state) |
boolean |
isPowered(BlockState state) |
boolean |
onBreak(Block block,
Item item) |
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) |
Item |
toItem(Block block) |
void |
updateHook(Block block,
BlockState blockState,
boolean scheduleUpdate) |
canBeFlooded, isSolidgetColor, isTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canSilkTouch, clone, collidesWithBB, collidesWithBB, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, onActivate, onActivate, onBreak, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRatepublic boolean canPassThrough()
canPassThrough in class FloodableBlockBehaviorpublic float getResistance()
getResistance in class FloodableBlockBehaviorpublic float getHardness()
getHardness in class FloodableBlockBehaviorpublic AxisAlignedBB getBoundingBox()
getBoundingBox in class FloodableBlockBehaviorpublic Item toItem(Block block)
toItem in class BlockBehaviorpublic boolean isPowered(BlockState state)
public boolean isAttached(BlockState state)
public boolean isDisarmed(BlockState state)
public void onEntityCollide(Block block, Entity entity)
onEntityCollide in class BlockBehaviorpublic void updateHook(Block block, BlockState blockState, boolean scheduleUpdate)
public 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 boolean onBreak(Block block, Item item)
onBreak in class BlockBehaviorpublic boolean canWaterlogSource()
canWaterlogSource in class BlockBehaviorpublic boolean canWaterlogFlowing()
canWaterlogFlowing in class BlockBehaviorCopyright © 2020. All rights reserved.