net.minecraft.world.level.block

public class CoralBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dnj
net.minecraft.world.level.block.CoralBlock
net.minecraft.class_2298
net.minecraft.block.CoralBlockBlock

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(dzo arg0, aro arg1, iu arg2, azt 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(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt 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(dhv arg0, iu arg1)
scanForWater(BlockGetter arg0, BlockPos arg1)
method_9808(class_1922 arg0, class_2338 arg1)
isInWater(BlockView world, BlockPos pos)
public BlockState
a(dcl arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)