net.minecraft.world.level.block

public class SpongeBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dse
net.minecraft.world.level.block.SpongeBlock
net.minecraft.class_2502
net.minecraft.block.SpongeBlock
net.minecraft.world.level.block.BlockSponge

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SpongeBlock>
a()
codec()
method_53969()
getCodec()
protected void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
protected void
a(dxv arg0, dhi arg1, jh arg2, dkm arg3, evf 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)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, WireOrientation arg4, boolean arg5)
protected void
a(dhi arg0, jh arg1)
tryAbsorbWater(Level arg0, BlockPos arg1)
method_10620(class_1937 arg0, class_2338 arg1)
update(World world, BlockPos pos)
private boolean
b(dhi arg0, jh arg1)
removeWaterBreadthFirstSearch(Level arg0, BlockPos arg1)
method_10619(class_1937 arg0, class_2338 arg1)
absorbWater(World world, BlockPos pos)