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

public record TrialSpawnerConfig

dri
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
spawnRange
comp_2103
spawnRange
f_302636_
private final float
d
totalMobs
comp_2104
totalMobs
f_303527_
private final float
e
simultaneousMobs
comp_2105
simultaneousMobs
f_303822_
private final float
f
totalMobsAddedPerPlayer
comp_2106
totalMobsAddedPerPlayer
f_303267_
private final float
g
simultaneousMobsAddedPerPlayer
comp_2107
simultaneousMobsAddedPerPlayer
f_303451_
private final int
h
ticksBetweenSpawn
comp_2108
ticksBetweenSpawn
f_303452_
private final SimpleWeightedRandomList<SpawnData>
i
spawnPotentialsDefinition
comp_2110
spawnPotentialsDefinition
f_303733_
private final SimpleWeightedRandomList<ResourceKey<LootTable>>
j
lootTablesToEject
comp_2111
lootTablesToEject
f_302816_
private final ResourceKey<LootTable>
k
itemsToDropWhenOminous
comp_2552
itemsToDropWhenOminous
f_315702_
public static final TrialSpawnerConfig
a
DEFAULT
field_47367
DEFAULT
f_303284_
public static final com.mojang.serialization.Codec<TrialSpawnerConfig>
b
CODEC
field_47368
CODEC
f_314242_

Constructor summary

ModifierConstructor
public (int totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, float ticksBetweenSpawn, int spawnPotentialsDefinition, SimpleWeightedRandomList<SpawnData> lootTablesToEject, SimpleWeightedRandomList<ResourceKey<LootTable>> itemsToDropWhenOminous, ResourceKey<LootTable> arg8)

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 long
a()
ticksBetweenItemSpawners()
method_58712()
getCooldownLength()
m_324829_()
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 SimpleWeightedRandomList<SpawnData>
h()
spawnPotentialsDefinition()
comp_2110()
spawnPotentialsDefinition()
f_303733_()
public SimpleWeightedRandomList<ResourceKey<LootTable>>
i()
lootTablesToEject()
comp_2111()
lootTablesToEject()
f_302816_()
public ResourceKey<LootTable>
j()
itemsToDropWhenOminous()
comp_2552()
itemsToDropWhenOminous()
f_315702_()