net.minecraft.world.level.material

public abstract class Fluid

cof
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.fluid.Fluid
net.minecraft.fluid.Fluid
net.minecraft.server.v1_15_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(byh$a<cof, cog> 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>
g()
getStateDefinition()
method_15783()
getStateManager()
func_207182_e()
protected final void
f(cog arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
setDefaultState(FluidState arg0)
func_207183_f(IFluidState arg0)
public final FluidState
h()
defaultFluidState()
method_15785()
getDefaultState()
func_207188_f()
public abstract Item
a()
getBucket()
method_15774()
getBucketItem()
func_204524_b()
protected void
a(bjt arg0, fk arg1, cog 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(bjt arg0, fk arg1, cog 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 arg0, BlockPos arg1, FluidState arg2, Random arg3)
func_207186_b(World arg0, BlockPos arg1, IFluidState arg2, Random arg3)
protected abstract boolean
a(cog arg0, bjd arg1, fk arg2, cof arg3, fp 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)
func_215665_a(IFluidState arg0, IBlockReader arg1, BlockPos arg2, Fluid arg3, Direction arg4)
protected abstract Vec3
a(bjd arg0, fk arg1, cog 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(bjw arg0)
getTickDelay(LevelReader arg0)
method_15789(class_4538 arg0)
getTickRate(WorldView arg0)
func_205569_a(IWorldReader arg0)
protected boolean
j()
isRandomlyTicking()
method_15795()
hasRandomTicks()
func_207196_h()
protected boolean
b()
isEmpty()
method_15794()
isEmpty()
func_204538_c()
protected abstract float
c()
getExplosionResistance()
method_15784()
getBlastResistance()
func_210195_d()
public abstract float
a(cog arg0, bjd arg1, fk arg2)
getHeight(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_15788(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getHeight(FluidState arg0, BlockView arg1, BlockPos arg2)
func_215662_a(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
public abstract float
a(cog arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
func_223407_a(IFluidState arg0)
protected abstract BlockState
b(cog arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
toBlockState(FluidState arg0)
func_204527_a(IFluidState arg0)
public abstract boolean
c(cog arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
isStill(FluidState arg0)
func_207193_c(IFluidState arg0)
public abstract int
d(cog arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
getLevel(FluidState arg0)
func_207192_d(IFluidState arg0)
public boolean
a(cof arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
matchesType(Fluid arg0)
func_207187_a(Fluid arg0)
public boolean
a(aaz<cof> arg0)
is(Tag<Fluid> arg0)
method_15791(class_3494<class_3611> arg0)
matches(Tag<Fluid> arg0)
func_207185_a(Tag<Fluid> arg0)
public abstract VoxelShape
b(cog arg0, bjd arg1, fk arg2)
getShape(FluidState arg0, BlockGetter arg1, BlockPos arg2)
method_17775(class_3610 arg0, class_1922 arg1, class_2338 arg2)
getShape(FluidState arg0, BlockView arg1, BlockPos arg2)
func_215664_b(IFluidState arg0, IBlockReader arg1, BlockPos arg2)
protected void
a(bjt arg0, fk arg1, cog 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 arg0, BlockPos arg1, FluidState arg2, Random arg3)
func_204522_a(World arg0, BlockPos arg1, IFluidState arg2, Random arg3)
protected ParticleOptions
i()
getDripParticle()
method_15787()
getParticle()
func_204521_c()