net.minecraft.world.level.block

public class TurtleEggBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dtu
net.minecraft.world.level.block.TurtleEggBlock
net.minecraft.class_2542
net.minecraft.block.TurtleEggBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TurtleEggBlock>
a
CODEC
field_46482
CODEC
public static final IntegerProperty
b
HATCH
field_11711
HATCH
public static final IntegerProperty
c
EGGS
field_11710
EGGS
public static final int
d
MAX_HATCH_LEVEL
field_31272
field_31272
public static final int
e
MIN_EGGS
field_31273
field_31273
public static final int
f
MAX_EGGS
field_31274
field_31274
private static final VoxelShape
g
SHAPE_SINGLE
field_55809
SINGLE_SHAPE
private static final VoxelShape
h
SHAPE_MULTIPLE
field_55810
MULTIPLE_SHAPE

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(dhp arg0, jj arg1, dym arg2, bvs 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(dhp arg0, dym arg1, jj arg2, bvs arg3, double arg4)
fallOn(Level arg0, BlockState arg1, BlockPos arg2, Entity arg3, double arg4)
method_9554(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1297 arg3, double arg4)
onLandedUpon(World arg0, BlockState arg1, BlockPos arg2, Entity arg3, double arg4)
private void
a(dhp arg0, dym arg1, jj arg2, bvs 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(dhp arg0, jj arg1, dym 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(dym arg0, arn arg1, jj arg2, azs 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(dgv arg0, jj arg1)
onSand(BlockGetter arg0, BlockPos arg1)
method_10831(class_1922 arg0, class_2338 arg1)
isSandBelow(BlockView world, BlockPos pos)
public static boolean
b(dgv arg0, jj arg1)
isSand(BlockGetter arg0, BlockPos arg1)
method_29952(class_1922 arg0, class_2338 arg1)
isSand(BlockView world, BlockPos pos)
protected void
a(dym arg0, dhp arg1, jj arg2, dym 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(dhp arg0)
shouldUpdateHatchLevel(Level arg0)
method_10832(class_1937 arg0)
shouldHatchProgress(World world)
public void
a(dhp arg0, cqi arg1, jj arg2, dym arg3, dvl arg4, cxy 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(dym arg0, dbn arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
public BlockState
a(dbn arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected VoxelShape
a(dym arg0, dgv arg1, jj arg2, fcz 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(dyn$a<dku, dym> 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(arn arg0, bvs arg1)
canDestroyEgg(ServerLevel arg0, Entity arg1)
method_10835(class_3218 arg0, class_1297 arg1)
breaksEgg(ServerWorld world, Entity entity)