public abstract class ForgeFlowingFluid extends FlowingFluid
Modifier and Type | Class and Description |
---|---|
static class |
ForgeFlowingFluid.Flowing |
static class |
ForgeFlowingFluid.Properties |
static class |
ForgeFlowingFluid.Source |
FALLING, LEVEL_1_8
STATE_REGISTRY, stateContainer
delegate
Modifier | Constructor and Description |
---|---|
protected |
ForgeFlowingFluid(ForgeFlowingFluid.Properties properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeReplacingBlock(IWorld worldIn,
BlockPos pos,
BlockState state) |
protected boolean |
canSourcesMultiply() |
protected FluidAttributes |
createAttributes()
Creates the fluid attributes object, which will contain all the extended values for the fluid that aren't part of the vanilla system.
|
protected boolean |
func_215665_a(IFluidState state,
IBlockReader world,
BlockPos pos,
Fluid fluidIn,
Direction direction) |
protected BlockState |
getBlockState(IFluidState state) |
protected float |
getExplosionResistance() |
Item |
getFilledBucket() |
Fluid |
getFlowingFluid() |
protected int |
getLevelDecreasePerBlock(IWorldReader worldIn) |
BlockRenderLayer |
getRenderLayer() |
protected int |
getSlopeFindDistance(IWorldReader worldIn) |
Fluid |
getStillFluid() |
int |
getTickRate(IWorldReader world) |
boolean |
isEquivalentTo(Fluid fluidIn) |
calculateCorrectFlowingState, canFlow, causesDownwardCurrent, fillStateContainer, flowAround, flowInto, func_205571_a, func_205572_b, func_215662_a, func_215663_a, func_215664_b, func_215667_a, func_223407_a, getFlowingFluidState, getLevelFromState, getStillFluidState, tick
animateTick, getAttributes, getDefaultState, getDripParticleData, getLevel, getStateContainer, getTags, isEmpty, isIn, isSource, randomTick, setDefaultState, ticksRandomly
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRenderInLayer, getExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInside
protected ForgeFlowingFluid(ForgeFlowingFluid.Properties properties)
public Fluid getFlowingFluid()
getFlowingFluid
in class FlowingFluid
public Fluid getStillFluid()
getStillFluid
in class FlowingFluid
protected boolean canSourcesMultiply()
canSourcesMultiply
in class FlowingFluid
protected void beforeReplacingBlock(IWorld worldIn, BlockPos pos, BlockState state)
beforeReplacingBlock
in class FlowingFluid
protected int getSlopeFindDistance(IWorldReader worldIn)
getSlopeFindDistance
in class FlowingFluid
protected int getLevelDecreasePerBlock(IWorldReader worldIn)
getLevelDecreasePerBlock
in class FlowingFluid
public BlockRenderLayer getRenderLayer()
getRenderLayer
in class Fluid
public Item getFilledBucket()
getFilledBucket
in class Fluid
protected boolean func_215665_a(IFluidState state, IBlockReader world, BlockPos pos, Fluid fluidIn, Direction direction)
func_215665_a
in class Fluid
public int getTickRate(IWorldReader world)
getTickRate
in class Fluid
protected float getExplosionResistance()
getExplosionResistance
in class Fluid
protected BlockState getBlockState(IFluidState state)
getBlockState
in class Fluid
public boolean isEquivalentTo(Fluid fluidIn)
isEquivalentTo
in class Fluid
protected FluidAttributes createAttributes()
Fluid
Fluid.getAttributes()
createAttributes
in class Fluid