net.minecraft.world.level.material

public abstract class Fluid

cwz
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.fluid.Fluid
net.minecraft.fluid.Fluid
net.minecraft.server.v1_16_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(cfk$a<cwz, cxa> 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, FluidState> arg0)
public StateDefinition<Fluid, FluidState>
g()
getStateDefinition()
method_15783()
getStateManager()
func_207182_e()
protected final void
f(cxa arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
setDefaultState(FluidState state)
func_207183_f(FluidState 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(bqb arg0, fu arg1, cxa 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, FluidState arg2)
protected void
b(bqb arg0, fu arg1, cxa 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, FluidState arg2, Random arg3)
protected abstract boolean
a(cxa arg0, bpg arg1, fu arg2, cwz arg3, fz 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(FluidState arg0, IBlockReader arg1, BlockPos arg2, Fluid arg3, Direction arg4)
protected abstract Vec3
a(bpg arg0, fu arg1, cxa 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, FluidState arg2)
public abstract int
a(bqd arg0)
getTickDelay(LevelReader arg0)
method_15789(class_4538 arg0)
getTickRate(WorldView world)
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(cxa arg0, bpg arg1, fu 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(FluidState arg0, IBlockReader arg1, BlockPos arg2)
public abstract float
a(cxa arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
getHeight(FluidState state)
func_223407_a(FluidState arg0)
protected abstract BlockState
b(cxa arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
toBlockState(FluidState state)
func_204527_a(FluidState arg0)
public abstract boolean
c(cxa arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
isStill(FluidState state)
func_207193_c(FluidState arg0)
public abstract int
d(cxa arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
getLevel(FluidState state)
func_207192_d(FluidState arg0)
public boolean
a(cwz arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
matchesType(Fluid fluid)
func_207187_a(Fluid arg0)
public boolean
a(adf<cwz> arg0)
is(Tag<Fluid> arg0)
method_15791(class_3494<class_3611> arg0)
isIn(Tag<Fluid> tag)
func_207185_a(ITag<Fluid> arg0)
public abstract VoxelShape
b(cxa arg0, bpg arg1, fu 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(FluidState arg0, IBlockReader arg1, BlockPos arg2)
protected void
a(bqb arg0, fu arg1, cxa 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, FluidState arg2, Random arg3)
protected ParticleOptions
i()
getDripParticle()
method_15787()
getParticle()
func_204521_c()