net.minecraft.world.level.block

public class FrogspawnBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

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

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FrogspawnBlock>
a
CODEC
field_46357
CODEC
private static final int
c
MIN_TADPOLES_SPAWN
field_37579
MIN_TADPOLES
private static final int
d
MAX_TADPOLES_SPAWN
field_37580
MAX_TADPOLES
private static final int
e
DEFAULT_MIN_HATCH_TICK_DELAY
field_37581
MIN_HATCH_TIME
private static final int
f
DEFAULT_MAX_HATCH_TICK_DELAY
field_37582
MAX_HATCH_TIME
protected static final VoxelShape
b
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(dwy arg0, dfo arg1, ji arg2, fbg 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(dwy arg0, dgm arg1, ji 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
b(dwy arg0, dgj arg1, ji arg2, dwy 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(azh arg0)
getFrogspawnHatchDelay(RandomSource arg0)
method_41429(class_5819 arg0)
getHatchTime(Random random)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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(dwy arg0, ard arg1, ji arg2, azh 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(dwy arg0, dgj arg1, ji arg2, bum 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(dfo arg0, ji arg1)
mayPlaceOn(BlockGetter arg0, BlockPos arg1)
method_41427(class_1922 arg0, class_2338 arg1)
canLayAt(BlockView world, BlockPos pos)
private void
a(ard arg0, ji arg1, azh 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(dgj arg0, ji arg1)
destroyBlock(Level arg0, BlockPos arg1)
method_41428(class_1937 arg0, class_2338 arg1)
breakWithoutDrop(World world, BlockPos pos)
private void
b(ard arg0, ji arg1, azh 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(azh 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()