public class BlockBehaviorCocoa extends BlockBehaviorTransparent
| Modifier and Type | Field and Description |
|---|---|
protected static org.cloudburstmc.api.util.AxisAlignedBB[] |
BB_ALL |
protected static org.cloudburstmc.api.util.AxisAlignedBB[] |
BB_EAST |
protected static org.cloudburstmc.api.util.AxisAlignedBB[] |
BB_NORTH |
protected static org.cloudburstmc.api.util.AxisAlignedBB[] |
BB_SOUTH |
protected static org.cloudburstmc.api.util.AxisAlignedBB[] |
BB_WEST |
static int |
DIR_MASK |
static int |
EAST |
static int |
NORTH |
static int |
SOUTH |
static int |
STAGE_1 |
static int |
STAGE_2 |
static int |
STAGE_3 |
static int |
STAGE_MASK |
static int |
WEST |
| Constructor and Description |
|---|
BlockBehaviorCocoa() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(org.cloudburstmc.api.block.Block block) |
org.cloudburstmc.api.item.ItemStack[] |
getDrops(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.item.ItemStack hand) |
boolean |
grow(org.cloudburstmc.api.block.Block block) |
boolean |
onActivate(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.item.ItemStack item,
org.cloudburstmc.api.player.Player player) |
int |
onUpdate(org.cloudburstmc.api.block.Block block,
int type) |
boolean |
place(org.cloudburstmc.api.item.ItemStack item,
org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.block.Block target,
org.cloudburstmc.api.util.Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
org.cloudburstmc.api.player.Player player) |
org.cloudburstmc.api.item.ItemStack |
toItem(org.cloudburstmc.api.block.Block block) |
getColorgetBreakTime, placeBlockaddVelocityToEntity, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, checkTool, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBoundingBox, getBurnAbility, getBurnChance, getCollisionBoxes, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getFilterLevel, getFrictionFactor, getHardness, getLightLevel, getMinimalTier, getResistance, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, isSolid, isTransparent, onActivate, onBreak, onBreak, onEntityCollide, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRateprotected static final org.cloudburstmc.api.util.AxisAlignedBB[] BB_NORTH
protected static final org.cloudburstmc.api.util.AxisAlignedBB[] BB_EAST
protected static final org.cloudburstmc.api.util.AxisAlignedBB[] BB_SOUTH
protected static final org.cloudburstmc.api.util.AxisAlignedBB[] BB_WEST
protected static final org.cloudburstmc.api.util.AxisAlignedBB[] BB_ALL
public static final int NORTH
public static final int EAST
public static final int SOUTH
public static final int WEST
public static final int DIR_MASK
public static final int STAGE_1
public static final int STAGE_2
public static final int STAGE_3
public static final int STAGE_MASK
public boolean place(org.cloudburstmc.api.item.ItemStack item,
org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.block.Block target,
org.cloudburstmc.api.util.Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
org.cloudburstmc.api.player.Player player)
place in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic int onUpdate(org.cloudburstmc.api.block.Block block,
int type)
onUpdate in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic boolean canBeActivated(org.cloudburstmc.api.block.Block block)
canBeActivated in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic boolean onActivate(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.item.ItemStack item,
org.cloudburstmc.api.player.Player player)
onActivate in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic boolean grow(org.cloudburstmc.api.block.Block block)
public org.cloudburstmc.api.item.ItemStack toItem(org.cloudburstmc.api.block.Block block)
toItem in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic org.cloudburstmc.api.item.ItemStack[] getDrops(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.item.ItemStack hand)
getDrops in class org.cloudburstmc.api.block.behavior.BlockBehaviorCopyright © 2021. All rights reserved.