net.minecraft.world.level.material

public abstract class Fluid

clj
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.fluid.Fluid
net.minecraft.fluid.Fluid
net.minecraft.server.v1_14_R1.FluidType

Field summary

Modifier and TypeField
public static final IdMapper<FluidState>
c
FLUID_STATE_REGISTRY
field_15904
STATE_IDS
field_207201_d
protected final StateDefinition<Fluid, FluidState>
d
stateDefinition
field_15905
stateManager
field_207202_e
private FluidState
a
defaultFluidState
field_15903
defaultState
field_207200_b

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
protected void
a(bvu$a<clj, clk> arg0)
createFluidStateDefinition(StateDefinition$Builder<Fluid, FluidState> arg0)
method_15775(class_2689$class_2690<class_3611, class_3610> arg0)
appendProperties(StateManager$Builder<Fluid, FluidState> arg0)
func_207184_a(StateContainer$Builder<Fluid, IFluidState> arg0)
public StateDefinition<Fluid, FluidState>
h()
getStateDefinition()
method_15783()
getStateManager()
func_207182_e()
protected final void
f(clk arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
setDefaultState(FluidState state)
func_207183_f(IFluidState arg0)
public final FluidState
i()
defaultFluidState()
method_15785()
getDefaultState()
func_207188_f()
public abstract Item
b()
getBucket()
method_15774()
getBucketItem()
func_204524_b()
protected void
a(bhr arg0, ew arg1, clk arg2)
tick(Level arg0, BlockPos arg1, FluidState arg2)
method_15778(class_1937 arg0, class_2338 arg1, class_3610 arg2)
onScheduledTick(World world, BlockPos pos, FluidState state)
func_207191_a(World arg0, BlockPos arg1, IFluidState arg2)
protected void
b(bhr arg0, ew arg1, clk arg2, Random arg3)
randomTick(Level arg0, BlockPos arg1, FluidState arg2, Random arg3)
method_15792(class_1937 arg0, class_2338 arg1, class_3610 arg2, Random arg3)
onRandomTick(World world, BlockPos pos, FluidState state, Random arg3)
func_207186_b(World arg0, BlockPos arg1, IFluidState arg2, Random arg3)
protected abstract boolean
a(clk arg0, bhb arg1, ew arg2, clj arg3, fb arg4)
canBeReplacedWith(FluidState arg0, BlockGetter arg1, BlockPos arg2, Fluid arg3, Direction arg4)
method_15777(class_3610 arg0, class_1922 arg1, class_2338 arg2, class_3611 arg3, class_2350 arg4)
canBeReplacedWith(FluidState state, BlockView world, BlockPos pos, Fluid fluid, Direction direction)
func_215665_a(IFluidState arg0, IBlockReader arg1, BlockPos arg2, Fluid arg3, Direction arg4)
protected abstract Vec3
a(bhb arg0, ew arg1, clk arg2)
getFlow(BlockGetter arg0, BlockPos arg1, FluidState arg2)
method_15782(class_1922 arg0, class_2338 arg1, class_3610 arg2)
getVelocity(BlockView world, BlockPos pos, FluidState state)
func_215663_a(IBlockReader arg0, BlockPos arg1, IFluidState arg2)
public abstract int
a(bhu arg0)
getTickDelay(LevelReader arg0)
method_15789(class_1941 arg0)
getTickRate(CollisionView arg0)
func_205569_a(IWorldReader arg0)
protected boolean
k()
isRandomlyTicking()
method_15795()
hasRandomTicks()
func_207196_h()
protected boolean
c()
isEmpty()
method_15794()
isEmpty()
func_204538_c()
protected abstract float
d()
getExplosionResistance()
method_15784()
getBlastResistance()
func_210195_d()
public abstract float
a(clk arg0, bhb arg1, ew arg2)
getHeight(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_15788(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getHeight(FluidState state, BlockView world, BlockPos pos)
func_215662_a(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
public abstract float
a(clk arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
func_223407_a(IFluidState arg0)
protected abstract BlockState
b(clk arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
toBlockState(FluidState state)
func_204527_a(IFluidState arg0)
public abstract boolean
c(clk arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
isStill(FluidState state)
func_207193_c(IFluidState arg0)
public abstract int
d(clk arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
getLevel(FluidState state)
func_207192_d(IFluidState arg0)
public boolean
a(clj arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
matchesType(Fluid fluid)
func_207187_a(Fluid arg0)
public boolean
a(zg<clj> arg0)
is(Tag<Fluid> arg0)
method_15791(class_3494<class_3611> arg0)
matches(Tag<Fluid> tag)
func_207185_a(Tag<Fluid> arg0)
public abstract VoxelShape
b(clk arg0, bhb arg1, ew arg2)
getShape(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17775(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getShape(FluidState state, BlockView world, BlockPos pos)
func_215664_b(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
protected abstract BlockLayer
a()
getRenderLayer()
method_15786()
getRenderLayer()
func_180664_k()
protected void
a(bhr arg0, ew arg1, clk arg2, Random arg3)
animateTick(Level arg0, BlockPos arg1, FluidState arg2, Random arg3)
method_15776(class_1937 arg0, class_2338 arg1, class_3610 arg2, Random arg3)
randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)
func_204522_a(World arg0, BlockPos arg1, IFluidState arg2, Random arg3)
protected ParticleOptions
j()
getDripParticle()
method_15787()
getParticle()
func_204521_c()