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_8STATE_REGISTRY, stateContainerdelegate| 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 |
canDisplace(IFluidState state,
IBlockReader world,
BlockPos pos,
Fluid fluidIn,
Direction direction) |
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 BlockState |
getBlockState(IFluidState state) |
protected float |
getExplosionResistance() |
Item |
getFilledBucket() |
Fluid |
getFlowingFluid() |
protected int |
getLevelDecreasePerBlock(IWorldReader worldIn) |
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_215664_b, func_215667_a, getActualHeight, getFlow, getFlowingFluidState, getHeight, getLevelFromState, getStillFluidState, tickanimateTick, getAttributes, getDefaultState, getDripParticleData, getLevel, getStateContainer, getTags, isEmpty, isIn, isSource, randomTick, setDefaultState, ticksRandomlygetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExplosionResistance, getFluid, isAABBInsideLiquid, isAABBInsideMaterial, isEntityInsideprotected ForgeFlowingFluid(ForgeFlowingFluid.Properties properties)
public Fluid getFlowingFluid()
getFlowingFluid in class FlowingFluidpublic Fluid getStillFluid()
getStillFluid in class FlowingFluidprotected boolean canSourcesMultiply()
canSourcesMultiply in class FlowingFluidprotected void beforeReplacingBlock(IWorld worldIn, BlockPos pos, BlockState state)
beforeReplacingBlock in class FlowingFluidprotected int getSlopeFindDistance(IWorldReader worldIn)
getSlopeFindDistance in class FlowingFluidprotected int getLevelDecreasePerBlock(IWorldReader worldIn)
getLevelDecreasePerBlock in class FlowingFluidpublic Item getFilledBucket()
getFilledBucket in class Fluidprotected boolean canDisplace(IFluidState state, IBlockReader world, BlockPos pos, Fluid fluidIn, Direction direction)
canDisplace in class Fluidpublic int getTickRate(IWorldReader world)
getTickRate in class Fluidprotected float getExplosionResistance()
getExplosionResistance in class Fluidprotected BlockState getBlockState(IFluidState state)
getBlockState in class Fluidpublic boolean isEquivalentTo(Fluid fluidIn)
isEquivalentTo in class Fluidprotected FluidAttributes createAttributes()
FluidFluid.getAttributes()createAttributes in class Fluid