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

public class TrialSpawnerData

dwd
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerData
net.minecraft.class_8966
net.minecraft.unmapped.C_kxkfzuix
net.minecraft.block.spawner.TrialSpawnerData
net.minecraft.block.TrialSpawnerData
net.minecraft.src.C_301979_
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerData

Field summary

Modifier and TypeField
public static final String
a
TAG_SPAWN_DATA
field_47369
f_vhhqtdzo
SPAWN_DATA_KEY
SPAWN_DATA_KEY
f_302545_
private static final String
m
TAG_NEXT_MOB_SPAWNS_AT
field_47382
f_nhtyttsu
NEXT_MOB_SPAWNS_AT_KEY
NEXT_WAVE_SPAWN_TIME_KEY
f_303495_
private static final int
n
DELAY_BETWEEN_PLAYER_SCANS
field_50190
f_xnjazxxb
field_50190
PLAYER_DETECTION_INTERVAL
f_315937_
private static final int
o
TRIAL_OMEN_PER_BAD_OMEN_LEVEL
field_50191
f_toyfthwb
field_50191
BASE_TRIAL_OMEN_EFFECT_DURATION
f_314589_
public static com.mojang.serialization.MapCodec<TrialSpawnerData>
b
MAP_CODEC
field_47370
f_lajkhqgz
codec
codec
f_302600_
protected final Set<UUID>
c
detectedPlayers
field_47371
f_qcltsbcl
players
registeredPlayers
f_303462_
protected final Set<UUID>
d
currentMobs
field_47372
f_aktuhxoo
spawnedMobsAlive
currentMobs
f_302440_
protected long
e
cooldownEndsAt
field_47373
f_yqqgmcxl
cooldownEnd
cooldownEndTime
f_303712_
protected long
f
nextMobSpawnsAt
field_47374
f_wunezcil
nextMobSpawnsAt
nextMobSpawnTime
f_302458_
protected int
g
totalMobsSpawned
field_47375
f_mjgevwvn
totalSpawnedMobs
totalMobsSpawned
f_302930_
protected Optional<SpawnData>
h
nextSpawnData
field_47376
f_krsbsqwv
spawnData
spawnData
f_303191_
protected Optional<ResourceKey<LootTable>>
i
ejectingLootTable
field_47377
f_bqnvrxui
rewardLootTable
ejectingLootTable
f_303012_
protected Entity
j
displayEntity
field_47379
f_tdzlonpc
displayEntity
displayEntity
f_302195_
private SimpleWeightedRandomList<ItemStack>
p
dispensing
field_50192
f_vvurntvw
itemsToDropWhenOminous
lootPool
f_314593_
protected double
k
spin
field_47380
f_idcjkswu
displayEntityRotation
displayEntityRotation
f_302632_
protected double
l
oSpin
field_47381
f_lawaojtb
lastDisplayEntityRotation
lastDisplayEntityRotation
f_303293_

Constructor summary

ModifierConstructor
public ()
public (Set<UUID> players, Set<UUID> spawnedMobsAlive, long cooldownEnd, long nextMobSpawnsAt, int totalSpawnedMobs, Optional<SpawnData> spawnData, Optional<ResourceKey<LootTable>> rewardLootTable)

Method summary

Modifier and TypeMethod
public void
a()
reset()
method_55182()
m_qacxasem()
reset()
reset()
m_305301_()
public void
b()
resetStatistics()
method_61763()
m_tpuunqmz()
deactivate()
resetStatistics()
m_354144_()
public boolean
a(dwa arg0, azh arg1)
hasMobToSpawn(TrialSpawner arg0, RandomSource arg1)
method_55197(class_8963 arg0, class_5819 arg1)
m_lqfpmalh(C_jelkcvqk arg0, C_rlomrsco arg1)
hasSpawnData(TrialSpawnerLogic logic, Random random)
hasSpawnData(TrialSpawnerLogic spawnerLogic, RandomGenerator random)
m_306286_(C_301982_ p_333493_, C_212974_ arg1)
public boolean
a(dwb arg0, int arg1)
hasFinishedSpawningAllMobs(TrialSpawnerConfig arg0, int arg1)
method_55192(class_8965 arg0, int arg1)
m_rdtrxuhq(C_pocjjnjk arg0, int arg1)
hasSpawnedAllMobs(TrialSpawnerConfig config, int additionalPlayers)
hasSpawnedAllMobs(TrialSpawnerConfig config, int additionalPlayers)
m_305025_(C_302073_ p_313160_, int arg1)
public boolean
c()
haveAllCurrentMobsDied()
method_55200()
m_lptaqeuw()
areMobsDead()
areMobsDead()
m_307352_()
public boolean
a(ard arg0, dwb arg1, int arg2)
isReadyToSpawnNextMob(ServerLevel arg0, TrialSpawnerConfig arg1, int arg2)
method_55185(class_3218 arg0, class_8965 arg1, int arg2)
m_npuvzoxl(C_bdwnwhiu arg0, C_pocjjnjk arg1, int arg2)
canSpawnMore(ServerWorld world, TrialSpawnerConfig config, int additionalPlayers)
isReadyToSpawnNewMobs(ServerWorld world, TrialSpawnerConfig config, int additionalPlayers)
m_305681_(C_12_ p_313089_, C_302073_ p_311969_, int arg2)
public int
a(ji arg0)
countAdditionalPlayers(BlockPos arg0)
method_55195(class_2338 arg0)
m_ncimrtbx(C_hynzadkk arg0)
getAdditionalPlayers(BlockPos pos)
getAdditionalPlayers(BlockPos spawnerPos)
m_305480_(C_4675_ arg0)
public void
a(ard arg0, ji arg1, dwa arg2)
tryDetectPlayers(ServerLevel arg0, BlockPos arg1, TrialSpawner arg2)
method_55186(class_3218 arg0, class_2338 arg1, class_8963 arg2)
m_hqnuaozt(C_bdwnwhiu arg0, C_hynzadkk arg1, C_jelkcvqk arg2)
updatePlayers(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic)
detectPlayers(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic)
m_304942_(C_12_ p_310981_, C_4675_ p_331326_, C_301982_ arg2)
private static Optional<com.mojang.datafixers.util.Pair<Player, Holder<MobEffect>>>
a(ard arg0, List<UUID> arg1)
findPlayerWithOminousEffect(ServerLevel arg0, List<UUID> arg1)
method_60789(class_3218 arg0, List<UUID> arg1)
m_fazowizq(C_bdwnwhiu arg0, List<UUID> arg1)
findPlayerWithOmen(ServerWorld world, List<UUID> players)
choosePlayerWithOmen(ServerWorld world, List<UUID> playerUuids)
m_340436_(C_12_ p_342909_, List<UUID> p_343949_)
public void
a(dwa arg0, ard arg1)
resetAfterBecomingOminous(TrialSpawner arg0, ServerLevel arg1)
method_58717(class_8963 arg0, class_3218 arg1)
m_whezyyzf(C_jelkcvqk arg0, C_bdwnwhiu arg1)
resetAndClearMobs(TrialSpawnerLogic logic, ServerWorld world)
discardMobs(TrialSpawnerLogic logic, ServerWorld world)
m_321694_(C_301982_ p_328172_, C_12_ arg1)
private static void
a(coy arg0)
transformBadOmenIntoTrialOmen(Player arg0)
method_58716(class_1657 arg0)
m_ksndgamr(C_jzrpycqo arg0)
applyTrialOmen(PlayerEntity player)
tryConvertBadOmenToTrialOmen(PlayerEntity player)
m_319436_(C_1141_ p_327801_)
public boolean
a(ard arg0, float arg1, int arg2)
isReadyToOpenShutter(ServerLevel arg0, float arg1, int arg2)
method_55184(class_3218 arg0, float arg1, int arg2)
m_phbcnwhj(C_bdwnwhiu arg0, float arg1, int arg2)
isCooldownPast(ServerWorld world, float arg1, int arg2)
isReadyToOpenShutter(ServerWorld world, float delay, int cooldown)
m_305761_(C_12_ p_312381_, float p_334019_, int arg2)
public boolean
b(ard arg0, float arg1, int arg2)
isReadyToEjectItems(ServerLevel arg0, float arg1, int arg2)
method_55198(class_3218 arg0, float arg1, int arg2)
m_kjmtebfw(C_bdwnwhiu arg0, float arg1, int arg2)
isCooldownAtRepeating(ServerWorld world, float arg1, int arg2)
isReadyToEjectReward(ServerWorld world, float delay, int cooldown)
m_305594_(C_12_ p_310189_, float p_330888_, int arg2)
public boolean
a(ard arg0)
isCooldownFinished(ServerLevel arg0)
method_55183(class_3218 arg0)
m_xhldgvye(C_bdwnwhiu arg0)
isCooldownOver(ServerWorld world)
isCooldownFinished(ServerWorld world)
m_305171_(C_12_ arg0)
protected SpawnData
b(dwa arg0, azh arg1)
getOrCreateNextSpawnData(TrialSpawner arg0, RandomSource arg1)
method_55188(class_8963 arg0, class_5819 arg1)
m_pyggveyz(C_jelkcvqk arg0, C_rlomrsco arg1)
getSpawnData(TrialSpawnerLogic logic, Random random)
getOrCreateNextSpawnData(TrialSpawnerLogic spawnerLogic, RandomGenerator random)
m_306716_(C_301982_ p_311692_, C_212974_ arg1)
public Entity
a(dwa arg0, dgj arg1, dwe arg2)
getOrCreateDisplayEntity(TrialSpawner arg0, Level arg1, TrialSpawnerState arg2)
method_55190(class_8963 arg0, class_1937 arg1, class_8967 arg2)
m_mnonaikc(C_jelkcvqk arg0, C_cdctfzbn arg1, C_mefvrcdp arg2)
setDisplayEntity(TrialSpawnerLogic logic, World world, TrialSpawnerState state)
getOrCreateDisplayEntity(TrialSpawnerLogic spawnerLogic, World world, TrialSpawnerState spawnerState)
m_307031_(C_301982_ p_310374_, C_1596_ p_310556_, C_302094_ arg2)
public CompoundTag
a(dwe arg0)
getUpdateTag(TrialSpawnerState arg0)
method_55194(class_8967 arg0)
m_nfqmvsor(C_mefvrcdp arg0)
getSpawnDataNbt(TrialSpawnerState state)
getSyncedNbt(TrialSpawnerState spawnerState)
m_307504_(C_302094_ arg0)
public double
d()
getSpin()
method_55202()
m_yjdsgxat()
getDisplayEntityRotation()
getDisplayEntityRotation()
m_306486_()
public double
e()
getOSpin()
method_55204()
m_rvfytrpa()
getLastDisplayEntityRotation()
getLastDisplayEntityRotation()
m_305098_()
SimpleWeightedRandomList<ItemStack>
a(ard arg0, dwb arg1, ji arg2)
getDispensingItems(ServerLevel arg0, TrialSpawnerConfig arg1, BlockPos arg2)
method_58714(class_3218 arg0, class_8965 arg1, class_2338 arg2)
m_qagcinaf(C_bdwnwhiu arg0, C_pocjjnjk arg1, C_hynzadkk arg2)
getItemsToDropWhenOminous(ServerWorld world, TrialSpawnerConfig config, BlockPos pos)
getLootPool(ServerWorld world, TrialSpawnerConfig config, BlockPos pos)
m_319751_(C_12_ p_328688_, C_302073_ p_329742_, C_4675_ arg2)
private static long
a(ard arg0, ji arg1)
lowResolutionPosition(ServerLevel arg0, BlockPos arg1)
method_58715(class_3218 arg0, class_2338 arg1)
m_zdufupjc(C_bdwnwhiu arg0, C_hynzadkk arg1)
getLootSeed(ServerWorld world, BlockPos pos)
getLootSeed(ServerWorld world, BlockPos pos)
m_324844_(C_12_ p_332486_, C_4675_ p_332719_)