net.minecraft.world.level.block

public class SnifferEggBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

drx
net.minecraft.world.level.block.SnifferEggBlock
net.minecraft.class_8238
net.minecraft.block.SnifferEggBlock
net.minecraft.world.level.block.SnifferEggBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SnifferEggBlock>
a
CODEC
field_46450
CODEC
public static final int
b
MAX_HATCH_LEVEL
field_43249
FINAL_HATCH_STAGE
public static final IntegerProperty
c
HATCH
field_43250
HATCH
private static final int
d
REGULAR_HATCH_TIME_TICKS
field_43251
HATCHING_TIME
private static final int
e
BOOSTED_HATCH_TIME_TICKS
field_43252
BOOSTED_HATCHING_TIME
private static final int
f
RANDOM_HATCH_OFFSET_TICKS
field_43253
MAX_RANDOM_CRACK_TIME_OFFSET
private static final VoxelShape
g
SHAPE
field_43254
SHAPE

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SnifferEggBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
public VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd 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)
public int
o(dxv arg0)
getHatchLevel(BlockState arg0)
method_49827(class_2680 arg0)
getHatchStage(BlockState state)
private boolean
q(dxv arg0)
isReadyToHatch(BlockState arg0)
method_49828(class_2680 arg0)
isReadyToHatch(BlockState state)
public void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public void
b(dxv arg0, dhi arg1, jh arg2, dxv 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)
public boolean
a(dxv arg0, eum arg1)
isPathfindable(BlockState arg0, PathComputationType arg1)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
public static boolean
a(dgn arg0, jh arg1)
hatchBoost(BlockGetter arg0, BlockPos arg1)
method_49826(class_1922 arg0, class_2338 arg1)
isAboveHatchBooster(BlockView world, BlockPos pos)