public class BlockBehaviorLava extends BlockBehaviorLiquid
adjacentSources, flowingId, flowVector, stationaryId| Constructor and Description |
|---|
BlockBehaviorLava() |
| Modifier and Type | Method and Description |
|---|---|
com.nukkitx.math.vector.Vector3f |
addVelocityToEntity(Block block,
com.nukkitx.math.vector.Vector3f vector,
Entity entity) |
protected void |
checkForHarden(Block block) |
protected void |
flowIntoBlock(Block block,
int newFlowDecay) |
BlockColor |
getColor(Block block) |
int |
getFlowDecayPerBlock(Block block) |
int |
getLightLevel(Block block) |
protected boolean |
isSurroundingBlockFlammable(Block block) |
void |
onEntityCollide(Block block,
Entity entity) |
int |
onUpdate(Block block,
int type) |
boolean |
place(Item item,
Block block,
Block target,
Direction face,
com.nukkitx.math.vector.Vector3f clickPos,
Player player) |
int |
tickRate() |
canBeFlooded, canBeReplaced, canFlowInto, canHarvestWithHand, canPassThrough, clearCaches, getBoundingBox, getDrops, getEffectiveFlowDecay, getFlowDecay, getFlowingId, getFlowVector, getFluidHeightPercent, getHardness, getLiquidBlock, getLiquidBlock, getMaxY, getResistance, getState, getStationaryId, hasEntityCollision, isBreakable, isLiquid, isSameLiquid, isSolid, liquidCollide, recalculateBoundingBox, toItem, triggerLavaMixEffects, usesWaterLoggingisTransparentcanBeActivated, canBeBrokenWith, canBeClimbed, canBePlaced, canBePushed, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getFilterLevel, getFrictionFactor, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, isNormalBlock, isPowerSource, onActivate, onActivate, onBreak, onBreak, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlockpublic int getLightLevel(Block block)
getLightLevel in class BlockBehaviorpublic void onEntityCollide(Block block, Entity entity)
onEntityCollide in class BlockBehaviorLiquidpublic boolean place(Item item, Block block, Block target, Direction face, com.nukkitx.math.vector.Vector3f clickPos, Player player)
place in class BlockBehaviorpublic int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorLiquidprotected boolean isSurroundingBlockFlammable(Block block)
public BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentpublic int tickRate()
tickRate in class BlockBehaviorpublic int getFlowDecayPerBlock(Block block)
getFlowDecayPerBlock in class BlockBehaviorLiquidprotected void checkForHarden(Block block)
checkForHarden in class BlockBehaviorLiquidprotected void flowIntoBlock(Block block, int newFlowDecay)
flowIntoBlock in class BlockBehaviorLiquidpublic com.nukkitx.math.vector.Vector3f addVelocityToEntity(Block block, com.nukkitx.math.vector.Vector3f vector, Entity entity)
addVelocityToEntity in class BlockBehaviorLiquidCopyright © 2020. All rights reserved.