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

public record TrialSpawnerConfig

dwb
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.TrialSpawnerConfig

Field summary

Modifier and TypeField
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 SimpleWeightedRandomList<SpawnData>
j
spawnPotentialsDefinition
comp_2110
f_pgmmnfet
spawnPotentials
spawnPotentialsDefinition
f_303733_
private final SimpleWeightedRandomList<ResourceKey<LootTable>>
k
lootTablesToEject
comp_2111
f_kofrwoth
lootTablesToEject
lootTablesToEject
f_302816_
private final ResourceKey<LootTable>
l
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
DIRECT_CODEC
field_53980
f_vbllmfpg
CODEC
CODEC
f_347346_
public static final com.mojang.serialization.Codec<Holder<TrialSpawnerConfig>>
c
CODEC
field_47368
f_mqsazqov
ENTRY_CODEC
HOLDER_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> itemsToDropWhenOminous)

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()
getCooldown()
m_324829_()
public static TrialSpawnerConfig$Builder
b()
builder()
method_63466()
m_akovexzz()
builder()
builder()
m_352796_()
public TrialSpawnerConfig
a(but<?> arg0)
withSpawning(EntityType<?> arg0)
method_65373(class_1299<?> arg0)
m_pnlczsea(C_ogavsvbr<?> arg0)
withSpawnPotential(EntityType<?> entityType)
m_372984_(C_513_<?> arg0)
public int
c()
spawnRange()
comp_2103()
m_gshnyuzi()
spawnRange()
spawnRange()
f_302636_()
public float
d()
totalMobs()
comp_2104()
m_qpvcljjs()
totalMobs()
totalMobs()
f_303527_()
public float
e()
simultaneousMobs()
comp_2105()
m_nsealzzf()
simultaneousMobs()
simultaneousMobs()
f_303822_()
public float
f()
totalMobsAddedPerPlayer()
comp_2106()
m_fnayjsin()
totalMobsAddedPerPlayer()
totalMobsAddedPerPlayer()
f_303267_()
public float
g()
simultaneousMobsAddedPerPlayer()
comp_2107()
m_vgpvthok()
simultaneousMobsAddedPerPlayer()
simultaneousMobsAddedPerPlayer()
f_303451_()
public int
h()
ticksBetweenSpawn()
comp_2108()
m_bqrirjbc()
ticksBetweenSpawn()
ticksBetweenSpawn()
f_303452_()
public SimpleWeightedRandomList<SpawnData>
i()
spawnPotentialsDefinition()
comp_2110()
m_pfahxibi()
spawnPotentials()
spawnPotentialsDefinition()
f_303733_()
public SimpleWeightedRandomList<ResourceKey<LootTable>>
j()
lootTablesToEject()
comp_2111()
m_ydtohxih()
lootTablesToEject()
lootTablesToEject()
f_302816_()
public ResourceKey<LootTable>
k()
itemsToDropWhenOminous()
comp_2552()
m_jpcvuyug()
itemsToDropWhenOminous()
itemsToDropWhenOminous()
f_315702_()