net.minecraft.world.level.block

public class TurtleEggBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dsk
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(dgj arg0, ji arg1, dwy arg2, bum 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(dgj arg0, dwy arg1, ji arg2, bum 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(dgj arg0, dwy arg1, ji arg2, bum 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(dgj arg0, ji arg1, dwy 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(dwy arg0, ard arg1, ji arg2, azh 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(dfo arg0, ji arg1)
onSand(BlockGetter arg0, BlockPos arg1)
method_10831(class_1922 arg0, class_2338 arg1)
isSandBelow(BlockView world, BlockPos pos)
public static boolean
b(dfo arg0, ji arg1)
isSand(BlockGetter arg0, BlockPos arg1)
method_29952(class_1922 arg0, class_2338 arg1)
isSand(BlockView world, BlockPos pos)
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)
private boolean
a(dgj arg0)
shouldUpdateHatchLevel(Level arg0)
method_10832(class_1937 arg0)
shouldHatchProgress(World world)
public void
a(dgj arg0, coy arg1, ji arg2, dwy arg3, dua arg4, cwq 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(dwy arg0, dah arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
public BlockState
a(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected VoxelShape
a(dwy arg0, dfo arg1, ji arg2, fbg 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(dwz$a<djn, dwy> 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(ard arg0, bum arg1)
canDestroyEgg(ServerLevel arg0, Entity arg1)
method_10835(class_3218 arg0, class_1297 arg1)
breaksEgg(ServerWorld world, Entity entity)