net.minecraft.world.level.block

public class TurtleEggBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dth
net.minecraft.world.level.block.TurtleEggBlock
net.minecraft.class_2542
net.minecraft.block.TurtleEggBlock
net.minecraft.world.level.block.BlockTurtleEgg

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TurtleEggBlock>
a
CODEC
field_46482
CODEC
public static final int
b
MAX_HATCH_LEVEL
field_31272
field_31272
public static final int
c
MIN_EGGS
field_31273
field_31273
public static final int
d
MAX_EGGS
field_31274
field_31274
private static final VoxelShape
g
ONE_EGG_AABB
field_11712
SMALL_SHAPE
private static final VoxelShape
h
MULTIPLE_EGGS_AABB
field_11709
LARGE_SHAPE
public static final IntegerProperty
e
HATCH
field_11711
HATCH
public static final IntegerProperty
f
EGGS
field_11710
EGGS

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TurtleEggBlock>
a()
codec()
method_53969()
getCodec()
public void
a(dhi arg0, jh arg1, dxv arg2, bvk arg3)
stepOn(Level arg0, BlockPos arg1, BlockState arg2, Entity arg3)
method_9591(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity arg3)
public void
a(dhi arg0, dxv arg1, jh arg2, bvk arg3, float arg4)
fallOn(Level arg0, BlockState arg1, BlockPos arg2, Entity arg3, float arg4)
method_9554(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, float arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity arg3, float arg4)
private void
a(dhi arg0, dxv arg1, jh arg2, bvk arg3, int arg4)
destroyEgg(Level arg0, BlockState arg1, BlockPos arg2, Entity arg3, int arg4)
method_10834(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, int arg4)
tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance)
private void
a(dhi arg0, jh arg1, dxv arg2)
decreaseEggs(Level arg0, BlockPos arg1, BlockState arg2)
method_10833(class_1937 arg0, class_2338 arg1, class_2680 arg2)
breakEgg(World world, BlockPos pos, BlockState state)
protected void
b(dxv arg0, ash arg1, jh arg2, bam arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public static boolean
a(dgn arg0, jh arg1)
onSand(BlockGetter arg0, BlockPos arg1)
method_10831(class_1922 arg0, class_2338 arg1)
isSandBelow(BlockView world, BlockPos pos)
public static boolean
b(dgn arg0, jh arg1)
isSand(BlockGetter arg0, BlockPos arg1)
method_29952(class_1922 arg0, class_2338 arg1)
isSand(BlockView world, BlockPos pos)
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)
private boolean
a(dhi arg0)
shouldUpdateHatchLevel(Level arg0)
method_10832(class_1937 arg0)
shouldHatchProgress(World world)
public void
a(dhi arg0, cpx arg1, jh arg2, dxv arg3, dux arg4, cxp arg5)
playerDestroy(Level arg0, Player arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
protected boolean
a(dxv arg0, dbg arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
private boolean
a(ash arg0, bvk arg1)
canDestroyEgg(ServerLevel arg0, Entity arg1)
method_10835(class_3218 arg0, class_1297 arg1)
breaksEgg(ServerWorld world, Entity entity)