net.minecraft.world.level.block

public class FrogspawnBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dpa
net.minecraft.world.level.block.FrogspawnBlock
net.minecraft.class_7113
net.minecraft.block.FrogspawnBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FrogspawnBlock>
a
CODEC
field_46357
CODEC
private static final int
b
MIN_TADPOLES_SPAWN
field_37579
MIN_TADPOLES
private static final int
c
MAX_TADPOLES_SPAWN
field_37580
MAX_TADPOLES
private static final int
d
DEFAULT_MIN_HATCH_TICK_DELAY
field_37581
MIN_HATCH_TIME
private static final int
e
DEFAULT_MAX_HATCH_TICK_DELAY
field_37582
MAX_HATCH_TIME
private static final VoxelShape
f
SHAPE
field_37578
SHAPE
private static int
g
minHatchTickDelay
field_37583
minHatchTime
private static int
h
maxHatchTickDelay
field_37584
maxHatchTime

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FrogspawnBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dzo arg0, dhv arg1, iu arg2, feb 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 boolean
a(dzo arg0, dis arg1, iu arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected void
a(dzo arg0, dip arg1, iu arg2, dzo 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 static int
a(azt arg0)
getFrogspawnHatchDelay(RandomSource arg0)
method_41429(class_5819 arg0)
getHatchTime(Random random)
protected BlockState
a(dzo arg0, dis arg1, dje arg2, iu arg3, ja arg4, iu arg5, dzo arg6, azt arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected void
a(dzo arg0, aro arg1, iu arg2, azt 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)
protected void
a(dzo arg0, dip arg1, iu arg2, bwa arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
private static boolean
a(dhv arg0, iu arg1)
mayPlaceOn(BlockGetter arg0, BlockPos arg1)
method_41427(class_1922 arg0, class_2338 arg1)
canLayAt(BlockView world, BlockPos pos)
private void
a(aro arg0, iu arg1, azt arg2)
hatchFrogspawn(ServerLevel arg0, BlockPos arg1, RandomSource arg2)
method_41426(class_3218 arg0, class_2338 arg1, class_5819 arg2)
hatch(ServerWorld world, BlockPos pos, Random random)
private void
a(dip arg0, iu arg1)
destroyBlock(Level arg0, BlockPos arg1)
method_41428(class_1937 arg0, class_2338 arg1)
breakWithoutDrop(World world, BlockPos pos)
private void
b(aro arg0, iu arg1, azt arg2)
spawnTadpoles(ServerLevel arg0, BlockPos arg1, RandomSource arg2)
method_41430(class_3218 arg0, class_2338 arg1, class_5819 arg2)
spawnTadpoles(ServerWorld world, BlockPos pos, Random random)
private double
b(azt arg0)
getRandomTadpolePositionOffset(RandomSource arg0)
method_44015(class_5819 arg0)
getSpawnOffset(Random random)
public static void
a(int arg0, int arg1)
setHatchDelay(int arg0, int arg1)
method_41425(int arg0, int arg1)
setHatchTimeRange(int min, int max)
public static void
b()
setDefaultHatchDelay()
method_41431()
resetHatchTimeRange()