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