Uses of Record Class
net.minecraft.block.spawner.TrialSpawnerConfig
-
Uses of TrialSpawnerConfig in net.minecraft.block.spawner
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<TrialSpawnerConfig> TrialSpawnerConfig.CODEC
static final com.mojang.serialization.Codec
<RegistryEntry<TrialSpawnerConfig>> TrialSpawnerConfig.ENTRY_CODEC
private final RegistryKey
<TrialSpawnerConfig> TrialSpawnerConfigs.ConfigKeyPair.normal
The field for thenormal
record component.private final RegistryEntry
<TrialSpawnerConfig> TrialSpawnerLogic.normalConfig
private final RegistryKey
<TrialSpawnerConfig> TrialSpawnerConfigs.ConfigKeyPair.ominous
The field for theominous
record component.private final RegistryEntry
<TrialSpawnerConfig> TrialSpawnerLogic.ominousConfig
Modifier and TypeMethodDescriptionTrialSpawnerConfig.Builder.build()
TrialSpawnerLogic.getConfig()
TrialSpawnerLogic.getNormalConfig()
TrialSpawnerLogic.getOminousConfig()
Modifier and TypeMethodDescription(package private) static RegistryKey
<TrialSpawnerConfig> TrialSpawnerConfigs.ConfigKeyPair.normal()
Returns the value of thenormal
record component.TrialSpawnerConfigs.ConfigKeyPair.ominous()
Returns the value of theominous
record component.Modifier and TypeMethodDescriptionboolean
TrialSpawnerData.canSpawnMore
(ServerWorld world, TrialSpawnerConfig config, int additionalPlayers) TrialSpawnerData.getItemsToDropWhenOminous
(ServerWorld world, TrialSpawnerConfig config, BlockPos pos) boolean
TrialSpawnerData.hasSpawnedAllMobs
(TrialSpawnerConfig config, int additionalPlayers) private static void
TrialSpawnerConfigs.register
(Registerable<TrialSpawnerConfig> registry, TrialSpawnerConfigs.ConfigKeyPair configPair, TrialSpawnerConfig normalConfig, TrialSpawnerConfig ominousConfig) Modifier and TypeMethodDescriptionstatic void
TrialSpawnerConfigs.bootstrap
(Registerable<TrialSpawnerConfig> registry) private static void
TrialSpawnerConfigs.register
(Registerable<TrialSpawnerConfig> registry, TrialSpawnerConfigs.ConfigKeyPair configPair, TrialSpawnerConfig normalConfig, TrialSpawnerConfig ominousConfig) ModifierConstructorDescriptionprivate
ConfigKeyPair
(RegistryKey<TrialSpawnerConfig> registryKey, RegistryKey<TrialSpawnerConfig> registryKey2) TrialSpawnerLogic
(RegistryEntry<TrialSpawnerConfig> normalConfig, RegistryEntry<TrialSpawnerConfig> ominousConfig, TrialSpawnerData data, int cooldownLength, int entityDetectionRange, TrialSpawnerLogic.TrialSpawner trialSpawner, EntityDetector entityDetector, EntityDetector.Selector entitySelector) -
Uses of TrialSpawnerConfig in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<TrialSpawnerConfig>> RegistryKeys.TRIAL_SPAWNER