Class BlockBehaviorMycelium
java.lang.Object
org.cloudburstmc.api.block.behavior.BlockBehavior
org.cloudburstmc.server.block.behavior.BaseBlockBehavior
org.cloudburstmc.server.block.behavior.BlockBehaviorSolid
org.cloudburstmc.server.block.behavior.BlockBehaviorMycelium
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.cloudburstmc.api.util.data.BlockColorgetColor(org.cloudburstmc.api.block.Block block)org.cloudburstmc.api.item.ItemStack[]getDrops(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.item.ItemStack hand)intonUpdate(org.cloudburstmc.api.block.Block block, int type)Methods inherited from class org.cloudburstmc.server.block.behavior.BaseBlockBehavior
getBreakTime, placeBlockMethods inherited from class org.cloudburstmc.api.block.behavior.BlockBehavior
addVelocityToEntity, canBeActivated, 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, onActivate, onBreak, onBreak, onEntityCollide, place, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItem
-
Constructor Details
-
BlockBehaviorMycelium
public BlockBehaviorMycelium()
-
-
Method Details
-
getDrops
public org.cloudburstmc.api.item.ItemStack[] getDrops(org.cloudburstmc.api.block.Block block, org.cloudburstmc.api.item.ItemStack hand)- Overrides:
getDropsin classorg.cloudburstmc.api.block.behavior.BlockBehavior
-
onUpdate
public int onUpdate(org.cloudburstmc.api.block.Block block, int type)- Overrides:
onUpdatein classorg.cloudburstmc.api.block.behavior.BlockBehavior
-
getColor
public org.cloudburstmc.api.util.data.BlockColor getColor(org.cloudburstmc.api.block.Block block)- Overrides:
getColorin classBlockBehaviorSolid
-