public class BlockBehaviorWater extends BlockBehaviorLiquid
BlockBehaviorLiquid.FlowStateadjacentSources, flowingId, flowVector, stationaryId| Constructor and Description |
|---|
BlockBehaviorWater() |
| Modifier and Type | Method and Description |
|---|---|
org.cloudburstmc.api.util.data.BlockColor |
getColor(org.cloudburstmc.api.block.Block block) |
void |
onEntityCollide(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.entity.Entity entity) |
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() |
boolean |
usesWaterLogging() |
addVelocityToEntity, canFlowInto, checkForHarden, clearCaches, flowIntoBlock, getDrops, getEffectiveFlowDecay, getFlowDecay, getFlowDecayPerBlock, getFlowingType, getFlowVector, getFluidHeightPercent, getMaxY, getState, getStationaryId, hasEntityCollision, isLiquid, isSameLiquid, isWater, liquidCollide, onUpdate, recalculateBoundingBox, toItem, triggerLavaMixEffectsgetBreakTime, 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 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 org.cloudburstmc.api.util.data.BlockColor getColor(org.cloudburstmc.api.block.Block block)
getColor in class BlockBehaviorTransparentpublic void onEntityCollide(org.cloudburstmc.api.block.Block block,
org.cloudburstmc.api.entity.Entity entity)
onEntityCollide in class BlockBehaviorLiquidpublic int tickRate()
tickRate in class org.cloudburstmc.api.block.behavior.BlockBehaviorpublic boolean usesWaterLogging()
usesWaterLogging in class BlockBehaviorLiquidCopyright © 2021. All rights reserved.