net.minecraft.world.level.block

public class CoralBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dmc
net.minecraft.world.level.block.CoralBlock
net.minecraft.class_2298
net.minecraft.block.CoralBlockBlock
net.minecraft.world.level.block.BlockCoral

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<Block>
a
DEAD_CORAL_FIELD
field_46323
DEAD_FIELD
public static final com.mojang.serialization.MapCodec<CoralBlock>
b
CODEC
field_46324
CODEC
private final Block
c
deadBlock
field_10818
deadCoralBlock

Constructor summary

ModifierConstructor
public (Block deadCoralBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<CoralBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv 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)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected boolean
a(dgn arg0, jh arg1)
scanForWater(BlockGetter arg0, BlockPos arg1)
method_9808(class_1922 arg0, class_2338 arg1)
isInWater(BlockView world, BlockPos pos)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)