net.minecraft.world.level.block

public class LiquidBlock

extends Block implements BucketPickup

All mapped superinterfaces:

FeatureElement, ItemLike, BucketPickup

dpd
net.minecraft.world.level.block.LiquidBlock
net.minecraft.class_2404
net.minecraft.unmapped.C_vxkgppzz
net.minecraft.block.FluidBlock
net.minecraft.block.FluidBlock
net.minecraft.src.C_1833_
net.minecraft.world.level.block.LightningRodBlock

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<FlowingFluid>
f
FLOWING_FLUID
field_46391
f_htzdkhfn
FLUID_CODEC
FLUID_CODEC
f_303447_
public static final com.mojang.serialization.MapCodec<LiquidBlock>
a
CODEC
field_46390
f_llasnfwf
CODEC
CODEC
f_303698_
public static final IntegerProperty
b
LEVEL
field_11278
f_udqymsuo
LEVEL
LEVEL
f_54688_
protected final FlowingFluid
c
fluid
field_11279
f_pbeellxw
fluid
fluid
f_54689_
private final List<FluidState>
g
stateCache
field_11276
f_zzgryjzt
statesByLevel
statesByLevel
f_54691_
public static final VoxelShape
d
STABLE_SHAPE
field_24412
f_fsaltaqg
COLLISION_SHAPE
COLLISION_SHAPE
f_54690_
public static final com.google.common.collect.ImmutableList<Direction>
e
POSSIBLE_FLOW_DIRECTIONS
field_34006
f_juhqbaok
FLOW_DIRECTIONS
FLOW_DIRECTIONS
f_181233_

Constructor summary

ModifierConstructor
protected (FlowingFluid fluid, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LiquidBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected VoxelShape
b(dxu arg0, dgm arg1, jh arg2, fcc arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_phzfypqf(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getCollisionShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5939_(C_2064_ p_54761_, C_1559_ p_54762_, C_4675_ p_54763_, C_3051_ arg3)
protected boolean
f(dxu arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
m_rmjjhoiz(C_txtbiemp arg0)
hasRandomTicks(BlockState arg0)
getRandomTicks(BlockState arg0)
m_51695_(C_2064_ arg0)
protected void
b(dxu arg0, ash arg1, jh arg2, bam arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_221411_, C_12_ p_221412_, C_4675_ p_221413_, C_212974_ arg3)
protected boolean
e_(dxu arg0)
propagatesSkylightDown(BlockState arg0)
method_9579(class_2680 arg0)
m_flnjgkno(C_txtbiemp arg0)
isTransparent(BlockState arg0)
isTransparent(BlockState arg0)
m_49099_(C_2064_ arg0)
protected boolean
a(dxu arg0, eul arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
m_rwctfady(C_txtbiemp arg0, C_kjwlgpfr arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
m_7357_(C_2064_ p_54707_, C_2754_ arg1)
protected FluidState
b_(dxu arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
m_nlstkjhl(C_txtbiemp arg0)
getFluidState(BlockState arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
protected boolean
b(dxu arg0, dxu arg1, jm arg2)
skipRendering(BlockState arg0, BlockState arg1, Direction arg2)
method_9522(class_2680 arg0, class_2680 arg1, class_2350 arg2)
m_nphexmxe(C_txtbiemp arg0, C_txtbiemp arg1, C_xpuuihxf arg2)
isSideInvisible(BlockState arg0, BlockState arg1, Direction arg2)
isSideInvisible(BlockState arg0, BlockState arg1, Direction arg2)
m_6104_(C_2064_ p_54717_, C_2064_ p_54718_, C_4687_ arg2)
protected RenderShape
a_(dxu arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
m_mjglzdvu(C_txtbiemp arg0)
getRenderType(BlockState arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
protected List<ItemStack>
a(dxu arg0, ewr$a arg1)
getDrops(BlockState arg0, LootParams$Builder arg1)
method_9560(class_2680 arg0, class_8567$class_8568 arg1)
m_tgwcmyam(C_txtbiemp arg0, C_nzsnkdtl$C_oqhigtaq arg1)
getDroppedStacks(BlockState arg0, LootWorldContext$Builder arg1)
getDroppedStacks(BlockState arg0, LootContextParameterSet$Builder arg1)
m_49635_(C_2064_ p_287727_, C_286926_$C_286924_ arg1)
protected VoxelShape
a(dxu arg0, dgm arg1, jh arg2, fcc arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_54750_, C_1559_ p_54751_, C_4675_ p_54752_, C_3051_ arg3)
protected void
b(dxu arg0, dhh arg1, jh arg2, dxu arg3, boolean arg4)
onPlace(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9615(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6807_(C_2064_ p_54755_, C_1596_ p_54756_, C_4675_ p_54757_, C_2064_ p_54758_, boolean arg4)
protected BlockState
a(dxu arg0, dhk arg1, dhw arg2, jh arg3, jm arg4, jh arg5, dxu arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_363921_, C_1599_ p_363294_, C_346056_ p_54727_, C_4675_ p_54724_, C_4687_ p_54728_, C_4675_ p_54725_, C_2064_ p_364601_, C_212974_ arg7)
protected void
a(dxu arg0, dhh arg1, jh arg2, dkl arg3, eve arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_9904 arg4, boolean arg5)
m_tmlkosuh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_mmxmpdoq arg3, C_ctatbkvy arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, Orientation arg4, boolean arg5)
m_6861_(C_2064_ p_54710_, C_1596_ p_54711_, C_4675_ p_54712_, C_1706_ p_368724_, C_346043_ p_54714_, boolean arg5)
private boolean
a(dhh arg0, jh arg1, dxu arg2)
shouldSpreadLiquid(Level arg0, BlockPos arg1, BlockState arg2)
method_10316(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_jbmcokcl(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
receiveNeighborFluids(World world, BlockPos pos, BlockState state)
receiveNeighborFluids(World world, BlockPos pos, BlockState state)
m_54696_(C_1596_ p_54698_, C_4675_ p_54699_, C_2064_ arg2)
private void
a(dhi arg0, jh arg1)
fizz(LevelAccessor arg0, BlockPos arg1)
method_10318(class_1936 arg0, class_2338 arg1)
m_mmjvfxne(C_vdvbsyle arg0, C_hynzadkk arg1)
playExtinguishSound(WorldAccess world, BlockPos pos)
playExtinguishSound(WorldAccess world, BlockPos pos)
m_54700_(C_1598_ p_54702_, C_4675_ arg1)
protected void
a(dxv$a<dkl, dxu> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public ItemStack
a(cpw arg0, dhi arg1, jh arg2, dxu arg3)
pickupBlock(Player arg0, LevelAccessor arg1, BlockPos arg2, BlockState arg3)
method_9700(class_1657 arg0, class_1936 arg1, class_2338 arg2, class_2680 arg3)
m_rdqcopzd(C_jzrpycqo arg0, C_vdvbsyle arg1, C_hynzadkk arg2, C_txtbiemp arg3)
tryDrainFluid(PlayerEntity arg0, WorldAccess arg1, BlockPos arg2, BlockState arg3)
tryDrainFluid(PlayerEntity arg0, WorldAccess arg1, BlockPos arg2, BlockState arg3)
m_142598_(C_1141_ p_153772_, C_1598_ p_153773_, C_4675_ p_153774_, C_2064_ arg3)
public Optional<SoundEvent>
at_()
getPickupSound()
method_32351()
m_nyaebcye()
getBucketFillSound()
getBucketFillSound()
m_142298_()