net.minecraft.world.level.block.entity.trialspawner

public record TrialSpawnerConfig

dis
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerConfig
net.minecraft.class_8965
net.minecraft.block.spawner.TrialSpawnerConfig
net.minecraft.src.C_302073_
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerConfig

Field summary

Modifier and TypeField
private final int
c
requiredPlayerRange
comp_2102
requiredPlayerRange
f_302674_
private final int
d
spawnRange
comp_2103
spawnRange
f_302636_
private final float
e
totalMobs
comp_2104
totalMobs
f_303527_
private final float
f
simultaneousMobs
comp_2105
simultaneousMobs
f_303822_
private final float
g
totalMobsAddedPerPlayer
comp_2106
totalMobsAddedPerPlayer
f_303267_
private final float
h
simultaneousMobsAddedPerPlayer
comp_2107
simultaneousMobsAddedPerPlayer
f_303451_
private final int
i
ticksBetweenSpawn
comp_2108
ticksBetweenSpawn
f_303452_
private final int
j
targetCooldownLength
comp_2109
targetCooldownLength
f_302361_
private final SimpleWeightedRandomList<SpawnData>
k
spawnPotentialsDefinition
comp_2110
spawnPotentialsDefinition
f_303733_
private final SimpleWeightedRandomList<ResourceLocation>
l
lootTablesToEject
comp_2111
lootTablesToEject
f_302816_
public static TrialSpawnerConfig
a
DEFAULT
field_47367
defaultInstance
f_303284_
public static com.mojang.serialization.MapCodec<TrialSpawnerConfig>
b
MAP_CODEC
field_47368
codec
f_303386_

Constructor summary

ModifierConstructor
public (int f_302636_, int f_303527_, float f_303822_, float f_303267_, float f_303451_, float f_303452_, int f_302361_, int f_303733_, SimpleWeightedRandomList<SpawnData> f_302816_, SimpleWeightedRandomList<ResourceLocation> arg9)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
calculateTargetTotalMobs(int arg0)
method_55179(int arg0)
getTotalMobs(int additionalPlayers)
m_306590_(int arg0)
public int
b(int arg0)
calculateTargetSimultaneousMobs(int arg0)
method_55181(int arg0)
getSimultaneousMobs(int additionalPlayers)
m_306918_(int arg0)
public int
a()
requiredPlayerRange()
comp_2102()
requiredPlayerRange()
f_302674_()
public int
b()
spawnRange()
comp_2103()
spawnRange()
f_302636_()
public float
c()
totalMobs()
comp_2104()
totalMobs()
f_303527_()
public float
d()
simultaneousMobs()
comp_2105()
simultaneousMobs()
f_303822_()
public float
e()
totalMobsAddedPerPlayer()
comp_2106()
totalMobsAddedPerPlayer()
f_303267_()
public float
f()
simultaneousMobsAddedPerPlayer()
comp_2107()
simultaneousMobsAddedPerPlayer()
f_303451_()
public int
g()
ticksBetweenSpawn()
comp_2108()
ticksBetweenSpawn()
f_303452_()
public int
h()
targetCooldownLength()
comp_2109()
targetCooldownLength()
f_302361_()
public SimpleWeightedRandomList<SpawnData>
i()
spawnPotentialsDefinition()
comp_2110()
spawnPotentialsDefinition()
f_303733_()
public SimpleWeightedRandomList<ResourceLocation>
j()
lootTablesToEject()
comp_2111()
lootTablesToEject()
f_302816_()