net.minecraft.world.level.block

public class SpongeBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dmq
net.minecraft.world.level.block.SpongeBlock
net.minecraft.class_2502
net.minecraft.block.SpongeBlock
net.minecraft.src.C_1916_
net.minecraft.world.level.block.BlockSponge

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SpongeBlock>
a
CODEC
field_46456
CODEC
f_302671_
public static final int
b
MAX_DEPTH
field_31250
ABSORB_RADIUS
f_154689_
public static final int
c
MAX_COUNT
field_31251
ABSORB_LIMIT
f_154690_
private static final Direction[]
d
ALL_DIRECTIONS
field_43257
DIRECTIONS
f_276425_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SpongeBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
b(dse arg0, dca arg1, iz arg2, dse 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_56812_, C_1596_ p_56813_, C_4675_ p_56814_, C_2064_ p_56815_, boolean arg4)
protected void
a(dse arg0, dca arg1, iz arg2, dfb arg3, iz 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_56802_, C_1596_ p_56803_, C_4675_ p_56804_, C_1706_ p_56805_, C_4675_ p_56806_, boolean arg5)
protected void
a(dca arg0, iz arg1)
tryAbsorbWater(Level arg0, BlockPos arg1)
method_10620(class_1937 arg0, class_2338 arg1)
update(World world, BlockPos pos)
m_56797_(C_1596_ p_56799_, C_4675_ arg1)
private boolean
b(dca arg0, iz arg1)
removeWaterBreadthFirstSearch(Level arg0, BlockPos arg1)
method_10619(class_1937 arg0, class_2338 arg1)
absorbWater(World world, BlockPos pos)
m_56807_(C_1596_ p_56809_, C_4675_ arg1)