public abstract class LiquidBlockBehavior extends SimpleBlockBehavior
BlockBehavior.ResultINSTANCE| Constructor and Description |
|---|
LiquidBlockBehavior() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canFlowInto(Block block) |
protected int |
getFlowDecayPerBlock() |
protected int |
getFlowLevel(Block block,
Block neighbor) |
protected com.flowpowered.math.vector.Vector3i |
getFlowVector(Block liquid) |
boolean |
onEntityCollision(BaseEntity entity) |
boolean |
onUpdate(Block block) |
getDrops, isCorrectTool, onBreak, onPlaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoundingBox, getBreakTime, getMiningEfficiency, onNeighboringBlockChange, overridePlacementpublic boolean onUpdate(Block block)
public boolean onEntityCollision(BaseEntity entity)
protected boolean canFlowInto(Block block)
protected int getFlowDecayPerBlock()
protected com.flowpowered.math.vector.Vector3i getFlowVector(Block liquid)
Copyright © 2017–2019 NukkitX. All rights reserved.