net.minecraft.world.level.material

public abstract class Fluid

esz
net.minecraft.world.level.material.Fluid
net.minecraft.class_3611
net.minecraft.fluid.Fluid
net.minecraft.world.level.material.FluidType

Field summary

Modifier and TypeField
public static final IdMapper<FluidState>
c
FLUID_STATE_REGISTRY
field_15904
STATE_IDS
protected final StateDefinition<Fluid, FluidState>
d
stateDefinition
field_15905
stateManager
private FluidState
a
defaultFluidState
field_15903
defaultState
private final Holder$Reference<Fluid>
b
builtInRegistryHolder
field_36431
registryEntry

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
protected void
a(dwz$a<esz, eta> arg0)
createFluidStateDefinition(StateDefinition$Builder<Fluid, FluidState> arg0)
method_15775(class_2689$class_2690<class_3611, class_3610> arg0)
appendProperties(StateManager$Builder<Fluid, FluidState> builder)
public StateDefinition<Fluid, FluidState>
f()
getStateDefinition()
method_15783()
getStateManager()
protected final void
f(eta arg0)
registerDefaultState(FluidState arg0)
method_15781(class_3610 arg0)
setDefaultState(FluidState state)
public final FluidState
g()
defaultFluidState()
method_15785()
getDefaultState()
public abstract Item
a()
getBucket()
method_15774()
getBucketItem()
protected void
a(dgj arg0, ji arg1, eta arg2, azh arg3)
animateTick(Level arg0, BlockPos arg1, FluidState arg2, RandomSource arg3)
method_15776(class_1937 arg0, class_2338 arg1, class_3610 arg2, class_5819 arg3)
randomDisplayTick(World world, BlockPos pos, FluidState state, Random random)
protected void
b(ard arg0, ji arg1, dwy arg2, eta arg3)
tick(ServerLevel arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
method_15778(class_3218 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
onScheduledTick(ServerWorld world, BlockPos pos, BlockState blockState, FluidState fluidState)
protected void
a(ard arg0, ji arg1, eta arg2, azh arg3)
randomTick(ServerLevel arg0, BlockPos arg1, FluidState arg2, RandomSource arg3)
method_15792(class_3218 arg0, class_2338 arg1, class_3610 arg2, class_5819 arg3)
onRandomTick(ServerWorld world, BlockPos pos, FluidState state, Random random)
protected ParticleOptions
h()
getDripParticle()
method_15787()
getParticle()
protected abstract boolean
a(eta arg0, dfo arg1, ji arg2, esz arg3, jn 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)
protected abstract Vec3
a(dfo arg0, ji arg1, eta 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)
public abstract int
a(dgm arg0)
getTickDelay(LevelReader arg0)
method_15789(class_4538 arg0)
getTickRate(WorldView world)
protected boolean
i()
isRandomlyTicking()
method_15795()
hasRandomTicks()
protected boolean
b()
isEmpty()
method_15794()
isEmpty()
protected abstract float
c()
getExplosionResistance()
method_15784()
getBlastResistance()
public abstract float
a(eta arg0, dfo arg1, ji 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)
public abstract float
a(eta arg0)
getOwnHeight(FluidState arg0)
method_20784(class_3610 arg0)
getHeight(FluidState state)
protected abstract BlockState
b(eta arg0)
createLegacyBlock(FluidState arg0)
method_15790(class_3610 arg0)
toBlockState(FluidState state)
public abstract boolean
c(eta arg0)
isSource(FluidState arg0)
method_15793(class_3610 arg0)
isStill(FluidState state)
public abstract int
d(eta arg0)
getAmount(FluidState arg0)
method_15779(class_3610 arg0)
getLevel(FluidState state)
public boolean
a(esz arg0)
isSame(Fluid arg0)
method_15780(class_3611 arg0)
matchesType(Fluid fluid)
public boolean
a(axf<esz> arg0)
is(TagKey<Fluid> arg0)
method_15791(class_6862<class_3611> arg0)
isIn(TagKey<Fluid> tag)
public abstract VoxelShape
b(eta arg0, dfo arg1, ji 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)
public Optional<SoundEvent>
j()
getPickupSound()
method_32359()
getBucketFillSound()
public Holder$Reference<Fluid>
k()
builtInRegistryHolder()
method_40178()
getRegistryEntry()