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