public class BlockBehaviorLava extends BlockBehaviorLiquid
BlockBehaviorLiquid.FlowStateadjacentSources, flowingId, flowVector, stationaryId| Constructor and Description |
|---|
BlockBehaviorLava() |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.math.vector.Vector3f |
addVelocityToEntity(org.cloudburstmc.api.block.Block block,
com.nukkitx.math.vector.Vector3f vector,
org.cloudburstmc.api.entity.Entity entity) |
protected void |
checkForHarden(org.cloudburstmc.api.block.Block block) |
protected void |
flowIntoBlock(org.cloudburstmc.api.block.Block block,
int newFlowDecay,
boolean falling) |
org.cloudburstmc.api.util.data.BlockColor |
getColor(org.cloudburstmc.api.block.Block block) |
int |
getFlowDecayPerBlock(org.cloudburstmc.api.block.Block block) |
protected boolean |
isSurroundingBlockFlammable(org.cloudburstmc.api.block.Block block) |
void |
onEntityCollide(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.entity.Entity entity) |
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) |
int |
tickRate() |
canFlowInto, clearCaches, getDrops, getEffectiveFlowDecay, getFlowDecay, getFlowingType, getFlowVector, getFluidHeightPercent, getMaxY, getState, getStationaryId, hasEntityCollision, isLiquid, isSameLiquid, isWater, liquidCollide, recalculateBoundingBox, toItem, triggerLavaMixEffects, usesWaterLogginggetBreakTime, placeBlockcanBeActivated, 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, isBreakable, isNormalBlock, isPowerSource, isSolid, isTransparent, onActivate, onActivate, onBreak, onBreak, placeBlock, placeBlock, placeBlock, removeBlock, removeBlockpublic void onEntityCollide(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.entity.Entity entity)
onEntityCollide in class BlockBehaviorLiquidpublic 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 BlockBehaviorLiquidprotected boolean isSurroundingBlockFlammable(org.cloudburstmc.api.block.Block block)
public org.cloudburstmc.api.util.data.BlockColor getColor(org.cloudburstmc.api.block.Block block)
getColor in class BlockBehaviorTransparentpublic int tickRate()
tickRate in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic int getFlowDecayPerBlock(org.cloudburstmc.api.block.Block block)
getFlowDecayPerBlock in class BlockBehaviorLiquidprotected void checkForHarden(org.cloudburstmc.api.block.Block block)
checkForHarden in class BlockBehaviorLiquidprotected void flowIntoBlock(org.cloudburstmc.api.block.Block block,
int newFlowDecay,
boolean falling)
flowIntoBlock in class BlockBehaviorLiquidpublic com.nukkitx.math.vector.Vector3f addVelocityToEntity(org.cloudburstmc.api.block.Block block,
com.nukkitx.math.vector.Vector3f vector,
org.cloudburstmc.api.entity.Entity entity)
addVelocityToEntity in class BlockBehaviorLiquidCopyright © 2021. All rights reserved.