net.minecraft.world.level.block

public class FrogspawnBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dif
net.minecraft.world.level.block.FrogspawnBlock
net.minecraft.class_7113
net.minecraft.block.FrogspawnBlock
net.minecraft.src.C_213092_
net.minecraft.world.level.block.FrogspawnBlock

Field summary

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

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<FrogspawnBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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)
m_5940_(C_2064_ p_221200_, C_1559_ p_221201_, C_4675_ p_221202_, C_3051_ arg3)
protected boolean
a(dse arg0, dcd arg1, iz 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)
m_7898_(C_2064_ p_221210_, C_1599_ p_221211_, C_4675_ arg2)
protected void
b(dse arg0, dca arg1, iz arg2, dse 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)
m_6807_(C_2064_ p_221228_, C_1596_ p_221229_, C_4675_ p_221230_, C_2064_ p_221231_, boolean arg4)
private static int
a(azh arg0)
getFrogspawnHatchDelay(RandomSource arg0)
method_41429(class_5819 arg0)
getHatchTime(Random random)
m_221185_(C_212974_ p_221186_)
protected BlockState
a(dse arg0, je arg1, dse arg2, dcb arg3, iz arg4, iz arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_221214_, C_4687_ p_221215_, C_2064_ p_221216_, C_1598_ p_221217_, C_4675_ p_221218_, C_4675_ arg5)
protected void
a(dse arg0, arf arg1, iz 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)
m_213897_(C_2064_ p_221195_, C_12_ p_221196_, C_4675_ p_221197_, C_212974_ arg3)
protected void
a(dse arg0, dca arg1, iz arg2, bsw 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)
m_7892_(C_2064_ p_221205_, C_1596_ p_221206_, C_4675_ p_221207_, C_507_ arg3)
private static boolean
a(dbg arg0, iz arg1)
mayPlaceOn(BlockGetter arg0, BlockPos arg1)
method_41427(class_1922 arg0, class_2338 arg1)
canLayAt(BlockView world, BlockPos pos)
m_221187_(C_1559_ p_221188_, C_4675_ p_221189_)
private void
a(arf arg0, iz 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)
m_221181_(C_12_ p_221183_, C_4675_ p_221184_, C_212974_ arg2)
private void
a(dca arg0, iz arg1)
destroyBlock(Level arg0, BlockPos arg1)
method_41428(class_1937 arg0, class_2338 arg1)
breakWithoutDrop(World world, BlockPos pos)
m_221190_(C_1596_ p_221192_, C_4675_ arg1)
private void
b(arf arg0, iz 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)
m_221220_(C_12_ p_221222_, C_4675_ p_221223_, C_212974_ arg2)
private double
b(azh arg0)
getRandomTadpolePositionOffset(RandomSource arg0)
method_44015(class_5819 arg0)
getSpawnOffset(Random random)
m_221224_(C_212974_ arg0)
public static void
a(int arg0, int arg1)
setHatchDelay(int arg0, int arg1)
method_41425(int arg0, int arg1)
setHatchTimeRange(int min, int max)
m_221178_(int p_221179_, int p_221180_)
public static void
b()
setDefaultHatchDelay()
method_41431()
resetHatchTimeRange()
m_221219_()