net.minecraft.world.level.block

public class SpongeBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

drh
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(dwy arg0, dgj arg1, ji arg2, dwy 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(dwy arg0, dgj arg1, ji arg2, djn arg3, eui 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(dgj arg0, ji arg1)
tryAbsorbWater(Level arg0, BlockPos arg1)
method_10620(class_1937 arg0, class_2338 arg1)
update(World world, BlockPos pos)
private boolean
b(dgj arg0, ji arg1)
removeWaterBreadthFirstSearch(Level arg0, BlockPos arg1)
method_10619(class_1937 arg0, class_2338 arg1)
absorbWater(World world, BlockPos pos)