net.minecraft.world.level.block

public class LiquidBlock

extends Block implements BucketPickup

All mapped superinterfaces:

ItemLike, BucketPickup

chu
net.minecraft.world.level.block.LiquidBlock
net.minecraft.class_2404
net.minecraft.block.FluidBlock
net.minecraft.src.C_1833_
net.minecraft.world.level.block.BlockFluids

Field summary

Modifier and TypeField
public static final IntegerProperty
a
LEVEL
field_11278
LEVEL
f_54688_
protected final FlowingFluid
b
fluid
field_11279
fluid
f_54689_
private final List<FluidState>
e
stateCache
field_11276
statesByLevel
f_54691_
public static final VoxelShape
c
STABLE_SHAPE
field_24412
COLLISION_SHAPE
f_54690_
public static final com.google.common.collect.ImmutableList<Direction>
d
POSSIBLE_FLOW_DIRECTIONS
field_34006
FLOW_DIRECTIONS
f_181233_

Constructor summary

ModifierConstructor
protected (FlowingFluid fluid, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
c(cov arg0, cab arg1, gj arg2, dpt arg3)
getCollisionShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9549(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 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)
public boolean
e_(cov arg0)
isRandomlyTicking(BlockState arg0)
method_9542(class_2680 arg0)
hasRandomTicks(BlockState arg0)
m_6724_(C_2064_ arg0)
public void
b(cov arg0, adw arg1, gj arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7455_(C_2064_ p_54741_, C_12_ p_54742_, C_4675_ p_54743_, Random arg3)
public boolean
c(cov arg0, cab arg1, gj arg2)
propagatesSkylightDown(BlockState arg0, BlockGetter arg1, BlockPos arg2)
method_9579(class_2680 arg0, class_1922 arg1, class_2338 arg2)
isTranslucent(BlockState arg0, BlockView arg1, BlockPos arg2)
m_7420_(C_2064_ p_54746_, C_1559_ p_54747_, C_4675_ arg2)
public boolean
a(cov arg0, cab arg1, gj arg2, djo arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
m_7357_(C_2064_ p_54705_, C_1559_ p_54706_, C_4675_ p_54707_, C_2754_ arg3)
public FluidState
c_(cov arg0)
getFluidState(BlockState arg0)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
m_5888_(C_2064_ arg0)
public boolean
a(cov arg0, cov arg1, go arg2)
skipRendering(BlockState arg0, BlockState arg1, Direction arg2)
method_9522(class_2680 arg0, class_2680 arg1, class_2350 arg2)
isSideInvisible(BlockState arg0, BlockState arg1, Direction arg2)
m_6104_(C_2064_ p_54717_, C_2064_ p_54718_, C_4687_ arg2)
public RenderShape
b_(cov arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public List<ItemStack>
a(cov arg0, dlc$a arg1)
getDrops(BlockState arg0, LootContext$Builder arg1)
method_9560(class_2680 arg0, class_47$class_48 arg1)
getDroppedStacks(BlockState arg0, LootContext$Builder arg1)
m_7381_(C_2064_ p_54721_, C_2811_$C_2813_ arg1)
public VoxelShape
a(cov arg0, cab arg1, gj arg2, dpt arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 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)
public void
b(cov arg0, cav arg1, gj arg2, cov 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)
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)
public BlockState
a(cov arg0, go arg1, cov arg2, caw arg3, gj arg4, gj arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_54724_, C_4687_ p_54725_, C_2064_ p_54726_, C_1598_ p_54727_, C_4675_ p_54728_, C_4675_ arg5)
public void
a(cov arg0, cav arg1, gj arg2, cdq arg3, gj arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
m_6861_(C_2064_ p_54710_, C_1596_ p_54711_, C_4675_ p_54712_, C_1706_ p_54713_, C_4675_ p_54714_, boolean arg5)
private boolean
a(cav arg0, gj arg1, cov arg2)
shouldSpreadLiquid(Level arg0, BlockPos arg1, BlockState arg2)
method_10316(class_1937 arg0, class_2338 arg1, class_2680 arg2)
receiveNeighborFluids(World world, BlockPos pos, BlockState state)
m_54696_(C_1596_ p_54698_, C_4675_ p_54699_, C_2064_ arg2)
private void
a(caw arg0, gj arg1)
fizz(LevelAccessor arg0, BlockPos arg1)
method_10318(class_1936 arg0, class_2338 arg1)
playExtinguishSound(WorldAccess world, BlockPos pos)
m_54700_(C_1598_ p_54702_, C_4675_ arg1)
protected void
a(cow$a<cdq, cov> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public ItemStack
c(caw arg0, gj arg1, cov arg2)
pickupBlock(LevelAccessor arg0, BlockPos arg1, BlockState arg2)
method_9700(class_1936 arg0, class_2338 arg1, class_2680 arg2)
tryDrainFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2)
m_142598_(C_1598_ p_153773_, C_4675_ p_153774_, C_2064_ arg2)
public Optional<SoundEvent>
X_()
getPickupSound()
method_32351()
getBucketFillSound()
m_142298_()