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

public record TrialSpawnerConfig

dwy
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerConfig
net.minecraft.class_8965
net.minecraft.block.spawner.TrialSpawnerConfig
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerConfig

Field summary

Modifier and TypeField
private final int
d
spawnRange
comp_2103
spawnRange
private final float
e
totalMobs
comp_2104
totalMobs
private final float
f
simultaneousMobs
comp_2105
simultaneousMobs
private final float
g
totalMobsAddedPerPlayer
comp_2106
totalMobsAddedPerPlayer
private final float
h
simultaneousMobsAddedPerPlayer
comp_2107
simultaneousMobsAddedPerPlayer
private final int
i
ticksBetweenSpawn
comp_2108
ticksBetweenSpawn
private final SimpleWeightedRandomList<SpawnData>
j
spawnPotentialsDefinition
comp_2110
spawnPotentials
private final SimpleWeightedRandomList<ResourceKey<LootTable>>
k
lootTablesToEject
comp_2111
lootTablesToEject
private final ResourceKey<LootTable>
l
itemsToDropWhenOminous
comp_2552
itemsToDropWhenOminous
public static final TrialSpawnerConfig
a
DEFAULT
field_47367
DEFAULT
public static final com.mojang.serialization.Codec<TrialSpawnerConfig>
b
DIRECT_CODEC
field_53980
CODEC
public static final com.mojang.serialization.Codec<Holder<TrialSpawnerConfig>>
c
CODEC
field_47368
ENTRY_CODEC

Constructor summary

ModifierConstructor
public (int arg0, float arg1, float arg2, float arg3, float arg4, int arg5, SimpleWeightedRandomList<SpawnData> arg6, SimpleWeightedRandomList<ResourceKey<LootTable>> arg7, ResourceKey<LootTable> arg8)

Method summary

Modifier and TypeMethod
public int
a(int arg0)
calculateTargetTotalMobs(int arg0)
method_55179(int arg0)
getTotalMobs(int additionalPlayers)
public int
b(int arg0)
calculateTargetSimultaneousMobs(int arg0)
method_55181(int arg0)
getSimultaneousMobs(int additionalPlayers)
public long
a()
ticksBetweenItemSpawners()
method_58712()
getCooldownLength()
public static TrialSpawnerConfig$Builder
b()
builder()
method_63466()
builder()
public int
c()
spawnRange()
comp_2103()
spawnRange()
public float
d()
totalMobs()
comp_2104()
totalMobs()
public float
e()
simultaneousMobs()
comp_2105()
simultaneousMobs()
public float
f()
totalMobsAddedPerPlayer()
comp_2106()
totalMobsAddedPerPlayer()
public float
g()
simultaneousMobsAddedPerPlayer()
comp_2107()
simultaneousMobsAddedPerPlayer()
public int
h()
ticksBetweenSpawn()
comp_2108()
ticksBetweenSpawn()
public SimpleWeightedRandomList<SpawnData>
i()
spawnPotentialsDefinition()
comp_2110()
spawnPotentials()
public SimpleWeightedRandomList<ResourceKey<LootTable>>
j()
lootTablesToEject()
comp_2111()
lootTablesToEject()
public ResourceKey<LootTable>
k()
itemsToDropWhenOminous()
comp_2552()
itemsToDropWhenOminous()