net.minecraft.block

public class DragonEggBlock

extends FallingBlock

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Falling

net.minecraft.world.level.block.DragonEggBlock
net.minecraft.world.level.block.DragonEggBlock
net.minecraft.class_2328
net.minecraft.block.DragonEggBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<DragonEggBlock>
CODEC
CODEC
field_46339
CODEC
private static final VoxelShape
SHAPE
SHAPE
field_10950
SHAPE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<DragonEggBlock>
codec()
codec()
method_53969()
getCodec()
protected VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected ActionResult
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected void
attack(BlockState state, Level level, BlockPos pos, Player player)
attack(BlockState state, Level level, BlockPos pos, Player player)
method_9606(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
onBlockBreakStart(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
private void
teleport(BlockState state, Level level, BlockPos pos)
teleport(BlockState state, Level level, BlockPos pos)
method_10047(class_2680 arg0, class_1937 arg1, class_2338 arg2)
teleport(BlockState state, World world, BlockPos pos)
protected int
getDelayAfterPlace()
getDelayAfterPlace()
method_26154()
getFallDelay()
protected boolean
isPathfindable(BlockState state, PathComputationType type)
isPathfindable(BlockState state, PathComputationType type)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
public int
getDustColor(BlockState blockState, BlockGetter level, BlockPos pos)
getDustColor(BlockState blockState, BlockGetter level, BlockPos pos)
method_10130(class_2680 arg0, class_1922 arg1, class_2338 arg2)
getColor(BlockState arg0, BlockView arg1, BlockPos arg2)