net.minecraft.world.level.block

public class TurtleEggBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dzg
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(dmu arg0, jb arg1, eeb arg2, bzm 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(dmu arg0, eeb arg1, jb arg2, bzm 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(dmu arg0, eeb arg1, jb arg2, bzm 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(dmu arg0, jb arg1, eeb 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(eeb arg0, aub arg1, jb arg2, bck 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(dly arg0, jb arg1)
onSand(BlockGetter arg0, BlockPos arg1)
method_10831(class_1922 arg0, class_2338 arg1)
isSandBelow(BlockView world, BlockPos pos)
public static boolean
b(dly arg0, jb arg1)
isSand(BlockGetter arg0, BlockPos arg1)
method_29952(class_1922 arg0, class_2338 arg1)
isSand(BlockView world, BlockPos pos)
protected void
a(eeb arg0, dmu arg1, jb arg2, eeb 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(dmu arg0)
shouldUpdateHatchLevel(Level arg0)
method_10832(class_1937 arg0)
shouldHatchProgress(World world)
public void
a(dmu arg0, cut arg1, jb arg2, eeb arg3, eaz arg4, dcv 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(eeb arg0, dgo arg1)
canBeReplaced(BlockState arg0, BlockPlaceContext arg1)
method_9616(class_2680 arg0, class_1750 arg1)
canReplace(BlockState arg0, ItemPlacementContext arg1)
public BlockState
a(dgo arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected VoxelShape
a(eeb arg0, dly arg1, jb arg2, fix 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(eec$a<dpz, eeb> 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(aub arg0, bzm arg1)
canDestroyEgg(ServerLevel arg0, Entity arg1)
method_10835(class_3218 arg0, class_1297 arg1)
breaksEgg(ServerWorld world, Entity entity)