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.unmapped.C_pocjjnjk
net.minecraft.block.spawner.TrialSpawnerConfig
net.minecraft.unmapped.C_pocjjnjk
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
f_hhgeplhu
requiredPlayerRange
requiredPlayerRange
f_302674_
private final int
d
spawnRange
comp_2103
f_wfzmjxxg
spawnRange
spawnRange
f_302636_
private final float
e
totalMobs
comp_2104
f_awudhhsy
totalMobs
totalMobs
f_303527_
private final float
f
simultaneousMobs
comp_2105
f_foxslfpr
simultaneousMobs
simultaneousMobs
f_303822_
private final float
g
totalMobsAddedPerPlayer
comp_2106
f_tpxiyzym
totalMobsAddedPerPlayer
totalMobsAddedPerPlayer
f_303267_
private final float
h
simultaneousMobsAddedPerPlayer
comp_2107
f_aftjuzye
simultaneousMobsAddedPerPlayer
simultaneousMobsAddedPerPlayer
f_303451_
private final int
i
ticksBetweenSpawn
comp_2108
f_utceeqmg
ticksBetweenSpawn
ticksBetweenSpawn
f_303452_
private final int
j
targetCooldownLength
comp_2109
f_bzkzthdi
targetCooldownLength
targetCooldownLength
f_302361_
private final SimpleWeightedRandomList<SpawnData>
k
spawnPotentialsDefinition
comp_2110
f_pgmmnfet
spawnPotentialsDefinition
spawnPotentialsDefinition
f_303733_
private final SimpleWeightedRandomList<ResourceLocation>
l
lootTablesToEject
comp_2111
f_kofrwoth
lootTablesToEject
lootTablesToEject
f_302816_
public static TrialSpawnerConfig
a
DEFAULT
field_47367
f_ykrjgiui
defaultInstance
f_303284_
public static com.mojang.serialization.MapCodec<TrialSpawnerConfig>
b
MAP_CODEC
field_47368
f_jfrkahaa
codec
f_303386_

Constructor summary

ModifierConstructor
public (int requiredPlayerRange, int spawnRange, float totalMobs, float simultaneousMobs, float totalMobsAddedPerPlayer, float simultaneousMobsAddedPerPlayer, int ticksBetweenSpawn, int targetCooldownLength, SimpleWeightedRandomList<SpawnData> spawnPotentialsDefinition, SimpleWeightedRandomList<ResourceLocation> lootTablesToEject)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
calculateTargetTotalMobs(int arg0)
method_55179(int arg0)
m_snjxtjjk(int arg0)
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)
m_306918_(int arg0)
public int
a()
requiredPlayerRange()
comp_2102()
m_ulxllinm()
requiredPlayerRange()
requiredPlayerRange()
f_302674_()
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 int
h()
targetCooldownLength()
comp_2109()
m_hpaqzewb()
targetCooldownLength()
targetCooldownLength()
f_302361_()
public SimpleWeightedRandomList<SpawnData>
i()
spawnPotentialsDefinition()
comp_2110()
m_pfahxibi()
spawnPotentialsDefinition()
spawnPotentialsDefinition()
f_303733_()
public SimpleWeightedRandomList<ResourceLocation>
j()
lootTablesToEject()
comp_2111()
m_ydtohxih()
lootTablesToEject()
lootTablesToEject()
f_302816_()