History - net.minecraft.world.level.block.entity.trialspawner.TrialSpawner

1.21.3

Names

dsf

dwx

Fields

int: c, DETECT_PLAYER_SPAWN_BUFFER, field_47358, field_47358, f_302637_

int: c, DETECT_PLAYER_SPAWN_BUFFER, field_47358, field_47358

int: f, MAX_MOB_TRACKING_DISTANCE, field_47359, MAX_ENTITY_DISTANCE, f_302891_

int: f, MAX_MOB_TRACKING_DISTANCE, field_47359, MAX_ENTITY_DISTANCE

int: g, MAX_MOB_TRACKING_DISTANCE_SQR, field_47360, MAX_ENTITY_DISTANCE_SQUARED, f_303092_

int: g, MAX_MOB_TRACKING_DISTANCE_SQR, field_47360, MAX_ENTITY_DISTANCE_SQUARED

float: h, SPAWNING_AMBIENT_SOUND_CHANCE, field_47361, field_47361, f_302617_

float: h, SPAWNING_AMBIENT_SOUND_CHANCE, field_47361, SOUND_RATE_PER_TICK

TrialSpawnerData: k, data, field_47363, data, f_302910_

TrialSpawnerData: k, data, field_47363, data

TrialSpawner$StateAccessor: n, stateAccessor, field_47364, trialSpawner, f_302785_

TrialSpawner$StateAccessor: n, stateAccessor, field_47364, trialSpawner

PlayerDetector: o, playerDetector, field_47365, entityDetector, f_302944_

PlayerDetector: o, playerDetector, field_47365, entityDetector

boolean: q, overridePeacefulAndMobSpawnRule, field_47366, forceActivate, f_302722_

boolean: q, overridePeacefulAndMobSpawnRule, field_47366, forceActivate

String: a, NORMAL_CONFIG_TAG_NAME, field_50177, NORMAL_CONFIG_NBT_KEY, f_316473_

String: a, NORMAL_CONFIG_TAG_NAME, field_50177, NORMAL_CONFIG_NBT_KEY

String: b, OMINOUS_CONFIG_TAG_NAME, field_50178, OMINOUS_CONFIG_NBT_KEY, f_314681_

String: b, OMINOUS_CONFIG_TAG_NAME, field_50178, OMINOUS_CONFIG_NBT_KEY

int: d, DEFAULT_TARGET_COOLDOWN_LENGTH, field_50179, field_50179, f_316421_

int: d, DEFAULT_TARGET_COOLDOWN_LENGTH, field_50179, DEFAULT_COOLDOWN_LENGTH

int: e, DEFAULT_PLAYER_SCAN_RANGE, field_50180, field_50180, f_315941_

int: e, DEFAULT_PLAYER_SCAN_RANGE, field_50180, DEFAULT_ENTITY_DETECTION_RANGE

TrialSpawnerConfig: i, normalConfig, field_50181, normalConfig, f_314388_

TrialSpawnerConfig: j, ominousConfig, field_50182, ominousConfig, f_314347_

int: l, requiredPlayerRange, field_50183, entityDetectionRange, f_315564_

int: l, requiredPlayerRange, field_50183, entityDetectionRange

int: m, targetCooldownLength, field_50184, cooldownLength, f_316987_

int: m, targetCooldownLength, field_50184, cooldownLength

PlayerDetector$EntitySelector: p, entitySelector, field_48864, entitySelector, f_314166_

PlayerDetector$EntitySelector: p, entitySelector, field_48864, entitySelector

boolean: r, isOminous, field_50185, ominous, f_315367_

boolean: r, isOminous, field_50185, ominous

Holder<TrialSpawnerConfig>: i, normalConfig, field_50181, normalConfig

Holder<TrialSpawnerConfig>: j, ominousConfig, field_50182, ominousConfig

Constructors

(TrialSpawnerConfig, TrialSpawnerConfig, TrialSpawnerData, int, int, TrialSpawner$StateAccessor, PlayerDetector, PlayerDetector$EntitySelector)

(Holder<TrialSpawnerConfig>, Holder<TrialSpawnerConfig>, TrialSpawnerData, int, int, TrialSpawner$StateAccessor, PlayerDetector, PlayerDetector$EntitySelector)

Methods

com.mojang.serialization.Codec<TrialSpawner> (): a, codec, method_55156, codec, m_307687_

com.mojang.serialization.Codec<TrialSpawner> (): a, codec, method_55156, codec

TrialSpawnerConfig (): b, getConfig, method_55170, getConfig, m_306177_

TrialSpawnerConfig (): b, getConfig, method_55170, getConfig

TrialSpawnerData (): f, getData, method_55174, getData, m_305472_

TrialSpawnerData (): f, getData, method_55174, getData

TrialSpawnerState (): i, getState, method_55175, getSpawnerState, m_305684_

TrialSpawnerState (): i, getState, method_55175, getSpawnerState

void (Level, TrialSpawnerState): a, setState, method_55163, setSpawnerState, m_304838_

void (Level, TrialSpawnerState): a, setState, method_55163, setSpawnerState

void (): j, markUpdated, method_55176, updateListeners, m_306727_

void (): j, markUpdated, method_55176, updateListeners

PlayerDetector (): k, getPlayerDetector, method_55177, getEntityDetector, m_305791_

PlayerDetector (): k, getPlayerDetector, method_55177, getEntityDetector

boolean (Level): a, canSpawnInLevel, method_55162, canActivate, m_305592_

Optional<UUID> (ServerLevel, BlockPos): c, spawnMob, method_55158, trySpawnMob, m_305361_

Optional<UUID> (ServerLevel, BlockPos): c, spawnMob, method_55158, trySpawnMob

boolean (ServerLevel, BlockPos, UUID): a, shouldMobBeUntracked, method_55160, shouldRemoveMobFromData, m_306734_

boolean (ServerLevel, BlockPos, UUID): a, shouldMobBeUntracked, method_55160, shouldRemoveMobFromData

boolean (Level, Vec3, Vec3): a, inLineOfSight, method_55164, hasLineOfSight, m_306844_

boolean (Level, Vec3, Vec3): a, inLineOfSight, method_55164, hasLineOfSight

void (Level, BlockPos, RandomSource): a, addBecomeOminousParticles, method_58701, addTrialOmenParticles, m_307155_

void (Level, BlockPos, RandomSource): a, addBecomeOminousParticles, method_58701, addTrialOmenParticles

void (Level, BlockPos, RandomSource): b, addEjectItemParticles, method_55173, addEjectItemParticles, m_306726_

void (Level, BlockPos, RandomSource): b, addEjectItemParticles, method_55173, addEjectItemParticles

void (PlayerDetector): a, setPlayerDetector, method_55168, setEntityDetector, m_305658_

void (PlayerDetector): a, setPlayerDetector, method_55168, setEntityDetector

void (): m, overridePeacefulAndMobSpawnRule, method_55178, forceActivate, m_306621_

void (): m, overridePeacefulAndMobSpawnRule, method_55178, forceActivate

TrialSpawnerConfig (): c, getNormalConfig, method_58703, getNormalConfig, m_319548_

TrialSpawnerConfig (): c, getNormalConfig, method_58703, getNormalConfig

TrialSpawnerConfig (): d, getOminousConfig, method_58704, getOminousConfig, m_320710_

TrialSpawnerConfig (): d, getOminousConfig, method_58704, getOminousConfig

TrialSpawnerConfig (): n, getOminousConfigForSerialization, method_58708, getOminousConfigForSerialization, m_324376_

void (ServerLevel, BlockPos): a, applyOminous, method_58700, setOminous, m_324951_

void (ServerLevel, BlockPos): a, applyOminous, method_58700, setOminous

void (ServerLevel, BlockPos): b, removeOminous, method_58702, setNotOminous, m_324138_

void (ServerLevel, BlockPos): b, removeOminous, method_58702, setNotOminous

boolean (): e, isOminous, method_58705, isOminous, m_322987_

boolean (): e, isOminous, method_58705, isOminous

int (): g, getTargetCooldownLength, method_58706, getCooldownLength, m_320388_

int (): g, getTargetCooldownLength, method_58706, getCooldownLength

int (): h, getRequiredPlayerRange, method_58707, getDetectionRadius, m_321887_

int (): h, getRequiredPlayerRange, method_58707, getDetectionRadius

PlayerDetector$EntitySelector (): l, getEntitySelector, method_56728, getEntitySelector, m_323449_

PlayerDetector$EntitySelector (): l, getEntitySelector, method_56728, getEntitySelector

void (ServerLevel, BlockPos, ResourceKey<LootTable>): a, ejectReward, method_55159, ejectLootTable, m_306218_

void (ServerLevel, BlockPos, ResourceKey<LootTable>): a, ejectReward, method_55159, ejectLootTable

void (Level, BlockPos, boolean): a, tickClient, method_55165, tickClient, m_304902_

void (Level, BlockPos, boolean): a, tickClient, method_55165, tickClient

void (ServerLevel, BlockPos, boolean): a, tickServer, method_55171, tickServer, m_306335_

void (ServerLevel, BlockPos, boolean): a, tickServer, method_55171, tickServer

void (Level, BlockPos, RandomSource, SimpleParticleType): a, addSpawnParticles, method_55166, addMobSpawnParticles, m_320714_

void (Level, BlockPos, RandomSource, SimpleParticleType): a, addSpawnParticles, method_55166, addMobSpawnParticles

void (Level, BlockPos, RandomSource, int, ParticleOptions): a, addDetectPlayerParticles, method_55167, addDetectionParticles, m_306813_

void (Level, BlockPos, RandomSource, int, ParticleOptions): a, addDetectPlayerParticles, method_55167, addDetectionParticles

boolean (ServerLevel): a, canSpawnInLevel, method_55162, canActivate

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

drh

dsf

Fields

Constructors

Methods

1.20.6

Names

dir

drh

Fields

int: a, DETECT_PLAYER_SPAWN_BUFFER, field_47358, field_47358, f_302637_

int: c, DETECT_PLAYER_SPAWN_BUFFER, field_47358, field_47358, f_302637_

int: b, MAX_MOB_TRACKING_DISTANCE, field_47359, MAX_ENTITY_DISTANCE, f_302891_

int: f, MAX_MOB_TRACKING_DISTANCE, field_47359, MAX_ENTITY_DISTANCE, f_302891_

int: c, MAX_MOB_TRACKING_DISTANCE_SQR, field_47360, MAX_ENTITY_DISTANCE_SQUARED, f_303092_

int: g, MAX_MOB_TRACKING_DISTANCE_SQR, field_47360, MAX_ENTITY_DISTANCE_SQUARED, f_303092_

float: d, SPAWNING_AMBIENT_SOUND_CHANCE, field_47361, field_47361, f_302617_

float: h, SPAWNING_AMBIENT_SOUND_CHANCE, field_47361, field_47361, f_302617_

TrialSpawnerConfig: e, config, field_47362, config, f_302564_

TrialSpawnerData: f, data, field_47363, data, f_302910_

TrialSpawnerData: k, data, field_47363, data, f_302910_

TrialSpawner$StateAccessor: g, stateAccessor, field_47364, trialSpawner, f_302785_

TrialSpawner$StateAccessor: n, stateAccessor, field_47364, trialSpawner, f_302785_

PlayerDetector: h, playerDetector, field_47365, entityDetector, f_302944_

PlayerDetector: o, playerDetector, field_47365, entityDetector, f_302944_

boolean: i, overridePeacefulAndMobSpawnRule, field_47366, forceActivate, f_302722_

boolean: q, overridePeacefulAndMobSpawnRule, field_47366, forceActivate, f_302722_

String: a, NORMAL_CONFIG_TAG_NAME, field_50177, NORMAL_CONFIG_NBT_KEY, f_316473_

String: b, OMINOUS_CONFIG_TAG_NAME, field_50178, OMINOUS_CONFIG_NBT_KEY, f_314681_

int: d, DEFAULT_TARGET_COOLDOWN_LENGTH, field_50179, field_50179, f_316421_

int: e, DEFAULT_PLAYER_SCAN_RANGE, field_50180, field_50180, f_315941_

TrialSpawnerConfig: i, normalConfig, field_50181, normalConfig, f_314388_

TrialSpawnerConfig: j, ominousConfig, field_50182, ominousConfig, f_314347_

int: l, requiredPlayerRange, field_50183, entityDetectionRange, f_315564_

int: m, targetCooldownLength, field_50184, cooldownLength, f_316987_

PlayerDetector$EntitySelector: p, entitySelector, field_48864, entitySelector, f_314166_

boolean: r, isOminous, field_50185, ominous, f_315367_

Constructors

(TrialSpawner$StateAccessor, PlayerDetector)

(TrialSpawnerConfig, TrialSpawnerData, TrialSpawner$StateAccessor, PlayerDetector)

(TrialSpawner$StateAccessor, PlayerDetector, PlayerDetector$EntitySelector)

(TrialSpawnerConfig, TrialSpawnerConfig, TrialSpawnerData, int, int, TrialSpawner$StateAccessor, PlayerDetector, PlayerDetector$EntitySelector)

Methods

TrialSpawnerData (): c, getData, method_55174, getData, m_305472_

TrialSpawnerData (): f, getData, method_55174, getData, m_305472_

TrialSpawnerState (): d, getState, method_55175, getSpawnerState, m_305684_

TrialSpawnerState (): i, getState, method_55175, getSpawnerState, m_305684_

void (): e, markUpdated, method_55176, updateListeners, m_306727_

void (): j, markUpdated, method_55176, updateListeners, m_306727_

PlayerDetector (): f, getPlayerDetector, method_55177, getEntityDetector, m_305791_

PlayerDetector (): k, getPlayerDetector, method_55177, getEntityDetector, m_305791_

Optional<UUID> (ServerLevel, BlockPos): a, spawnMob, method_55158, trySpawnMob, m_305361_

Optional<UUID> (ServerLevel, BlockPos): c, spawnMob, method_55158, trySpawnMob, m_305361_

void (ServerLevel, BlockPos, ResourceLocation): a, ejectReward, method_55159, ejectLootTable, m_306218_

void (Level, BlockPos): a, tickClient, method_55165, tickClient, m_304902_

void (ServerLevel, BlockPos): b, tickServer, method_55171, tickServer, m_306335_

void (Level, BlockPos, RandomSource): a, addSpawnParticles, method_55166, addMobSpawnParticles, m_307155_

void (Level, BlockPos, RandomSource): a, addBecomeOminousParticles, method_58701, addTrialOmenParticles, m_307155_

void (Level, BlockPos, RandomSource, int): a, addDetectPlayerParticles, method_55167, addDetectionParticles, m_306813_

void (): g, overridePeacefulAndMobSpawnRule, method_55178, forceActivate, m_306621_

void (): m, overridePeacefulAndMobSpawnRule, method_55178, forceActivate, m_306621_

TrialSpawnerConfig (): c, getNormalConfig, method_58703, getNormalConfig, m_319548_

TrialSpawnerConfig (): d, getOminousConfig, method_58704, getOminousConfig, m_320710_

TrialSpawnerConfig (): n, getOminousConfigForSerialization, method_58708, getOminousConfigForSerialization, m_324376_

void (ServerLevel, BlockPos): a, applyOminous, method_58700, setOminous, m_324951_

void (ServerLevel, BlockPos): b, removeOminous, method_58702, setNotOminous, m_324138_

boolean (): e, isOminous, method_58705, isOminous, m_322987_

int (): g, getTargetCooldownLength, method_58706, getCooldownLength, m_320388_

int (): h, getRequiredPlayerRange, method_58707, getDetectionRadius, m_321887_

PlayerDetector$EntitySelector (): l, getEntitySelector, method_56728, getEntitySelector, m_323449_

void (ServerLevel, BlockPos, ResourceKey<LootTable>): a, ejectReward, method_55159, ejectLootTable, m_306218_

void (Level, BlockPos, boolean): a, tickClient, method_55165, tickClient, m_304902_

void (ServerLevel, BlockPos, boolean): a, tickServer, method_55171, tickServer, m_306335_

void (Level, BlockPos, RandomSource, SimpleParticleType): a, addSpawnParticles, method_55166, addMobSpawnParticles, m_320714_

void (Level, BlockPos, RandomSource, int, ParticleOptions): a, addDetectPlayerParticles, method_55167, addDetectionParticles, m_306813_

1.20.4

Names

dir

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

net.minecraft.class_8963

net.minecraft.block.spawner.TrialSpawnerLogic

net.minecraft.src.C_301982_

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

Fields

int: a, DETECT_PLAYER_SPAWN_BUFFER, field_47358, field_47358, f_302637_

int: b, MAX_MOB_TRACKING_DISTANCE, field_47359, MAX_ENTITY_DISTANCE, f_302891_

int: c, MAX_MOB_TRACKING_DISTANCE_SQR, field_47360, MAX_ENTITY_DISTANCE_SQUARED, f_303092_

float: d, SPAWNING_AMBIENT_SOUND_CHANCE, field_47361, field_47361, f_302617_

TrialSpawnerConfig: e, config, field_47362, config, f_302564_

TrialSpawnerData: f, data, field_47363, data, f_302910_

TrialSpawner$StateAccessor: g, stateAccessor, field_47364, trialSpawner, f_302785_

PlayerDetector: h, playerDetector, field_47365, entityDetector, f_302944_

boolean: i, overridePeacefulAndMobSpawnRule, field_47366, forceActivate, f_302722_

Constructors

(TrialSpawner$StateAccessor, PlayerDetector)

(TrialSpawnerConfig, TrialSpawnerData, TrialSpawner$StateAccessor, PlayerDetector)

Methods

com.mojang.serialization.Codec<TrialSpawner> (): a, codec, method_55156, codec, m_307687_

TrialSpawnerConfig (): b, getConfig, method_55170, getConfig, m_306177_

TrialSpawnerData (): c, getData, method_55174, getData, m_305472_

TrialSpawnerState (): d, getState, method_55175, getSpawnerState, m_305684_

void (Level, TrialSpawnerState): a, setState, method_55163, setSpawnerState, m_304838_

void (): e, markUpdated, method_55176, updateListeners, m_306727_

PlayerDetector (): f, getPlayerDetector, method_55177, getEntityDetector, m_305791_

boolean (Level): a, canSpawnInLevel, method_55162, canActivate, m_305592_

Optional<UUID> (ServerLevel, BlockPos): a, spawnMob, method_55158, trySpawnMob, m_305361_

void (ServerLevel, BlockPos, ResourceLocation): a, ejectReward, method_55159, ejectLootTable, m_306218_

void (Level, BlockPos): a, tickClient, method_55165, tickClient, m_304902_

void (ServerLevel, BlockPos): b, tickServer, method_55171, tickServer, m_306335_

boolean (ServerLevel, BlockPos, UUID): a, shouldMobBeUntracked, method_55160, shouldRemoveMobFromData, m_306734_

boolean (Level, Vec3, Vec3): a, inLineOfSight, method_55164, hasLineOfSight, m_306844_

void (Level, BlockPos, RandomSource): a, addSpawnParticles, method_55166, addMobSpawnParticles, m_307155_

void (Level, BlockPos, RandomSource, int): a, addDetectPlayerParticles, method_55167, addDetectionParticles, m_306813_

void (Level, BlockPos, RandomSource): b, addEjectItemParticles, method_55173, addEjectItemParticles, m_306726_

void (PlayerDetector): a, setPlayerDetector, method_55168, setEntityDetector, m_305658_

void (): g, overridePeacefulAndMobSpawnRule, method_55178, forceActivate, m_306621_