public class BlockBehaviorNetherPortal extends FloodableBlockBehavior
| Constructor and Description |
|---|
BlockBehaviorNetherPortal() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePushed() |
boolean |
canHarvestWithHand() |
boolean |
canPassThrough() |
BlockColor |
getColor(Block block) |
float |
getHardness() |
int |
getLightLevel(Block block) |
boolean |
hasEntityCollision() |
boolean |
isBreakable(Item item) |
boolean |
onBreak(Block block,
Item item) |
static void |
spawnPortal(com.nukkitx.math.vector.Vector3f pos,
Level level) |
Item |
toItem(Block block) |
canBeFlooded, getBoundingBox, getResistance, isSolidisTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBePlaced, canBeReplaced, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, isLiquid, isNormalBlock, isPowerSource, onActivate, onActivate, onBreak, onEntityCollide, onUpdate, place, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRatepublic boolean canPassThrough()
canPassThrough in class FloodableBlockBehaviorpublic boolean isBreakable(Item item)
isBreakable in class BlockBehaviorpublic static void spawnPortal(com.nukkitx.math.vector.Vector3f pos,
Level level)
public int getLightLevel(Block block)
getLightLevel in class BlockBehaviorpublic float getHardness()
getHardness in class FloodableBlockBehaviorpublic boolean onBreak(Block block, Item item)
onBreak in class BlockBehaviorpublic boolean hasEntityCollision()
hasEntityCollision in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic boolean canBePushed()
canBePushed in class BlockBehaviorpublic boolean canHarvestWithHand()
canHarvestWithHand in class BlockBehaviorpublic Item toItem(Block block)
toItem in class BlockBehaviorCopyright © 2020. All rights reserved.