net.minecraft.world.level.block

public class TurtleEggBlock

extends Block

All mapped superinterfaces:

ItemLike

ckr
net.minecraft.world.level.block.TurtleEggBlock
net.minecraft.class_2542
net.minecraft.block.TurtleEggBlock
net.minecraft.src.C_1950_
net.minecraft.world.level.block.BlockTurtleEgg

Field summary

Modifier and TypeField
public static final int
a
MAX_HATCH_LEVEL
field_31272
field_31272
f_154841_
public static final int
b
MIN_EGGS
field_31273
field_31273
f_154842_
public static final int
c
MAX_EGGS
field_31274
field_31274
f_154843_
private static final VoxelShape
f
ONE_EGG_AABB
field_11712
SMALL_SHAPE
f_57755_
private static final VoxelShape
g
MULTIPLE_EGGS_AABB
field_11709
LARGE_SHAPE
f_57756_
public static final IntegerProperty
d
HATCH
field_11711
HATCH
f_57753_
public static final IntegerProperty
e
EGGS
field_11710
EGGS
f_57754_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public void
a(cad arg0, gh arg1, coc arg2, awt 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)
m_141947_(C_1596_ p_154858_, C_4675_ p_154859_, C_2064_ p_154860_, C_507_ arg3)
public void
a(cad arg0, coc arg1, gh arg2, awt 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)
m_142072_(C_1596_ p_154846_, C_2064_ p_154847_, C_4675_ p_154848_, C_507_ p_154849_, float arg4)
private void
a(cad arg0, coc arg1, gh arg2, awt 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)
m_154850_(C_1596_ p_154852_, C_2064_ p_154853_, C_4675_ p_154854_, C_507_ p_154855_, int arg4)
private void
a(cad arg0, gh arg1, coc 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)
m_57791_(C_1596_ p_57793_, C_4675_ p_57794_, C_2064_ arg2)
public void
b(coc arg0, adi arg1, gh arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7455_(C_2064_ p_57805_, C_12_ p_57806_, C_4675_ p_57807_, Random arg3)
public static boolean
a(bzj arg0, gh arg1)
onSand(BlockGetter arg0, BlockPos arg1)
method_10831(class_1922 arg0, class_2338 arg1)
isSandBelow(BlockView world, BlockPos pos)
m_57762_(C_1559_ p_57763_, C_4675_ p_57764_)
public static boolean
b(bzj arg0, gh arg1)
isSand(BlockGetter arg0, BlockPos arg1)
method_29952(class_1922 arg0, class_2338 arg1)
isSand(BlockView world, BlockPos pos)
m_57800_(C_1559_ p_57801_, C_4675_ p_57802_)
public void
b(coc arg0, cad arg1, gh arg2, coc 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)
m_6807_(C_2064_ p_57815_, C_1596_ p_57816_, C_4675_ p_57817_, C_2064_ p_57818_, boolean arg4)
private boolean
a(cad arg0)
shouldUpdateHatchLevel(Level arg0)
method_10832(class_1937 arg0)
shouldHatchProgress(World world)
m_57765_(C_1596_ arg0)
public void
a(cad arg0, bnr arg1, gh arg2, coc arg3, clz arg4, bue 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)
m_6240_(C_1596_ p_57772_, C_1141_ p_57773_, C_4675_ p_57774_, C_2064_ p_57775_, C_1991_ p_57776_, C_1391_ arg5)
public boolean
a(coc arg0, bwe arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
m_6864_(C_2064_ p_57797_, C_1445_ arg1)
public BlockState
a(bwe arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
public VoxelShape
a(coc arg0, bzj arg1, gh arg2, dor 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)
m_5940_(C_2064_ p_57810_, C_1559_ p_57811_, C_4675_ p_57812_, C_3051_ arg3)
protected void
a(cod$a<ccy, coc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
private boolean
a(cad arg0, awt arg1)
canDestroyEgg(Level arg0, Entity arg1)
method_10835(class_1937 arg0, class_1297 arg1)
breaksEgg(World world, Entity entity)
m_57767_(C_1596_ p_57769_, C_507_ arg1)