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

public record TrialSpawnerConfig

drh
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerConfig
net.minecraft.class_8965
net.minecraft.unmapped.C_pocjjnjk
net.minecraft.block.spawner.TrialSpawnerConfig
net.minecraft.block.TrialSpawnerConfig
net.minecraft.src.C_302073_
net.minecraft.world.level.block.entity.trialspawner.TrialSpawner

Field summary

Modifier and TypeField
private final int
c
spawnRange
comp_2103
f_wfzmjxxg
spawnRange
spawnRange
f_302636_
private final float
d
totalMobs
comp_2104
f_awudhhsy
totalMobs
totalMobs
f_303527_
private final float
e
simultaneousMobs
comp_2105
f_foxslfpr
simultaneousMobs
simultaneousMobs
f_303822_
private final float
f
totalMobsAddedPerPlayer
comp_2106
f_tpxiyzym
totalMobsAddedPerPlayer
totalMobsAddedPerPlayer
f_303267_
private final float
g
simultaneousMobsAddedPerPlayer
comp_2107
f_aftjuzye
simultaneousMobsAddedPerPlayer
simultaneousMobsAddedPerPlayer
f_303451_
private final int
h
ticksBetweenSpawn
comp_2108
f_utceeqmg
ticksBetweenSpawn
ticksBetweenSpawn
f_303452_
private final SimpleWeightedRandomList<SpawnData>
i
spawnPotentialsDefinition
comp_2110
f_pgmmnfet
spawnPotentialsDefinition
spawnPotentialsDefinition
f_303733_
private final SimpleWeightedRandomList<ResourceKey<LootTable>>
j
lootTablesToEject
comp_2111
f_kofrwoth
lootTablesToEject
lootTablesToEject
f_302816_
private final ResourceKey<LootTable>
k
itemsToDropWhenOminous
comp_2552
f_bdloumyp
itemsToDropWhenOminous
itemsToDropWhenOminous
f_315702_
public static final TrialSpawnerConfig
a
DEFAULT
field_47367
f_ykrjgiui
DEFAULT
DEFAULT_INSTANCE
f_303284_
public static final com.mojang.serialization.Codec<TrialSpawnerConfig>
b
CODEC
field_47368
f_mqsazqov
CODEC
CODEC
f_314242_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a(int arg0)
calculateTargetTotalMobs(int arg0)
method_55179(int arg0)
m_snjxtjjk(int arg0)
getTotalMobs(int additionalPlayers)
getTotalMobs(int additionalPlayers)
m_306590_(int arg0)
public int
b(int arg0)
calculateTargetSimultaneousMobs(int arg0)
method_55181(int arg0)
m_fsslncbi(int arg0)
getSimultaneousMobs(int additionalPlayers)
getSimultaneousMobs(int additionalPlayers)
m_306918_(int arg0)
public long
a()
ticksBetweenItemSpawners()
method_58712()
m_rjwfxsix()
getCooldownLength()
m_324829_()
public int
b()
spawnRange()
comp_2103()
m_gshnyuzi()
spawnRange()
spawnRange()
f_302636_()
public float
c()
totalMobs()
comp_2104()
m_qpvcljjs()
totalMobs()
totalMobs()
f_303527_()
public float
d()
simultaneousMobs()
comp_2105()
m_nsealzzf()
simultaneousMobs()
simultaneousMobs()
f_303822_()
public float
e()
totalMobsAddedPerPlayer()
comp_2106()
m_fnayjsin()
totalMobsAddedPerPlayer()
totalMobsAddedPerPlayer()
f_303267_()
public float
f()
simultaneousMobsAddedPerPlayer()
comp_2107()
m_vgpvthok()
simultaneousMobsAddedPerPlayer()
simultaneousMobsAddedPerPlayer()
f_303451_()
public int
g()
ticksBetweenSpawn()
comp_2108()
m_bqrirjbc()
ticksBetweenSpawn()
ticksBetweenSpawn()
f_303452_()
public SimpleWeightedRandomList<SpawnData>
h()
spawnPotentialsDefinition()
comp_2110()
m_pfahxibi()
spawnPotentialsDefinition()
spawnPotentialsDefinition()
f_303733_()
public SimpleWeightedRandomList<ResourceKey<LootTable>>
i()
lootTablesToEject()
comp_2111()
m_ydtohxih()
lootTablesToEject()
lootTablesToEject()
f_302816_()
public ResourceKey<LootTable>
j()
itemsToDropWhenOminous()
comp_2552()
m_jpcvuyug()
itemsToDropWhenOminous()
itemsToDropWhenOminous()
f_315702_()