net.minecraft.world.level.block

public class TurtleEggBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dns
net.minecraft.world.level.block.TurtleEggBlock
net.minecraft.class_2542
net.minecraft.unmapped.C_atxjqgqr
net.minecraft.block.TurtleEggBlock
net.minecraft.block.TurtleEggBlock
net.minecraft.src.C_1950_
net.minecraft.world.level.block.BlockTripwireHook

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TurtleEggBlock>
a
CODEC
field_46482
f_kpnmkilz
CODEC
CODEC
f_302784_
public static final int
b
MAX_HATCH_LEVEL
field_31272
f_hbftdnlp
field_31272
MAX_HATCH_LEVEL
f_154841_
public static final int
c
MIN_EGGS
field_31273
f_nvonnshi
field_31273
MIN_EGG_COUNT
f_154842_
public static final int
d
MAX_EGGS
field_31274
f_kqtioktm
field_31274
MAX_EGG_COUNT
f_154843_
private static final VoxelShape
g
ONE_EGG_AABB
field_11712
f_slnojjyx
SMALL_SHAPE
SMALL_SHAPE
f_57755_
private static final VoxelShape
h
MULTIPLE_EGGS_AABB
field_11709
f_qgiqursv
LARGE_SHAPE
LARGE_SHAPE
f_57756_
public static final IntegerProperty
e
HATCH
field_11711
f_mrimgqed
HATCH
HATCH
f_57753_
public static final IntegerProperty
f
EGGS
field_11710
f_wbscjlwi
EGGS
EGGS
f_57754_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<TurtleEggBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public void
a(dbz arg0, iz arg1, dsd arg2, bsv arg3)
stepOn(Level arg0, BlockPos arg1, BlockState arg2, Entity arg3)
method_9591(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1297 arg3)
m_aqcetwet(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_astfners arg3)
onSteppedOn(World arg0, BlockPos arg1, BlockState arg2, Entity 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(dbz arg0, dsd arg1, iz arg2, bsv 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)
m_jweqgtyb(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_astfners arg3, float arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity 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(dbz arg0, dsd arg1, iz arg2, bsv 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)
m_bpiqvsnm(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_astfners arg3, int arg4)
tryBreakEgg(World world, BlockState state, BlockPos pos, Entity entity, int inverseChance)
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(dbz arg0, iz arg1, dsd arg2)
decreaseEggs(Level arg0, BlockPos arg1, BlockState arg2)
method_10833(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_ajegpujq(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
breakEgg(World world, BlockPos pos, BlockState state)
breakEgg(World world, BlockPos pos, BlockState state)
m_57791_(C_1596_ p_57793_, C_4675_ p_57794_, C_2064_ arg2)
protected void
b(dsd arg0, arf arg1, iz 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)
m_sdymngiw(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, RandomGenerator arg3)
m_213898_(C_2064_ p_222645_, C_12_ p_222646_, C_4675_ p_222647_, C_212974_ arg3)
public static boolean
a(dbf arg0, iz arg1)
onSand(BlockGetter arg0, BlockPos arg1)
method_10831(class_1922 arg0, class_2338 arg1)
m_nqawxifi(C_peaveboq arg0, C_hynzadkk arg1)
isSandBelow(BlockView world, BlockPos pos)
isSandBelow(BlockView world, BlockPos pos)
m_57762_(C_1559_ p_57763_, C_4675_ p_57764_)
public static boolean
b(dbf arg0, iz arg1)
isSand(BlockGetter arg0, BlockPos arg1)
method_29952(class_1922 arg0, class_2338 arg1)
m_qarmnrny(C_peaveboq arg0, C_hynzadkk arg1)
isSand(BlockView world, BlockPos pos)
isSand(BlockView world, BlockPos pos)
m_57800_(C_1559_ p_57801_, C_4675_ p_57802_)
protected void
b(dsd arg0, dbz arg1, iz arg2, dsd 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)
m_cojbgxjy(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onBlockAdded(BlockState arg0, World arg1, BlockPos arg2, BlockState 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(dbz arg0)
shouldUpdateHatchLevel(Level arg0)
method_10832(class_1937 arg0)
m_padqjucf(C_cdctfzbn arg0)
shouldHatchProgress(World world)
shouldHatchProgress(World world)
m_57765_(C_1596_ arg0)
public void
a(dbz arg0, cmy arg1, iz arg2, dsd arg3, dpi arg4, cuq 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)
m_mtdctgjh(C_cdctfzbn arg0, C_jzrpycqo arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_kvegafmh arg4, C_sddaxwyk arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack 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)
protected boolean
a(dsd arg0, cyb arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
m_qzmkwuwe(C_txtbiemp arg0, C_aiootljq arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
m_6864_(C_2064_ p_57797_, C_1445_ arg1)
public BlockState
a(cyb arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected VoxelShape
a(dsd arg0, dbf arg1, iz arg2, evx arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext 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(dse$a<dfa, dsd> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
private boolean
a(dbz arg0, bsv arg1)
canDestroyEgg(Level arg0, Entity arg1)
method_10835(class_1937 arg0, class_1297 arg1)
m_vxgezezg(C_cdctfzbn arg0, C_astfners arg1)
breaksEgg(World world, Entity entity)
breaksEgg(World world, Entity entity)
m_57767_(C_1596_ p_57769_, C_507_ arg1)