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

public class TrialSpawnerData

drj
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
f_315937_
private static final int
o
TRIAL_OMEN_PER_BAD_OMEN_LEVEL
field_50191
f_toyfthwb
field_50191
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
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 boolean
a(drh 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(dri 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
b()
haveAllCurrentMobsDied()
method_55200()
m_lptaqeuw()
areMobsDead()
areMobsDead()
m_307352_()
public boolean
a(arf arg0, dri 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(iz 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(arf arg0, iz arg1, drh 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 arg2)
m_304942_(C_12_ p_310981_, C_4675_ p_331326_, C_301982_ arg2)
public void
a(drh arg0, arf 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)
m_whezyyzf(TrialSpawnerLogic arg0, ServerWorld world)
m_321694_(C_301982_ p_328172_, C_12_ arg1)
private void
a(cmz arg0, bse arg1)
transformBadOmenIntoTrialOmen(Player arg0, MobEffectInstance arg1)
method_58716(class_1657 arg0, class_1293 arg1)
m_ksndgamr(C_jzrpycqo arg0, C_wpfizwve arg1)
applyTrialOmen(PlayerEntity player, StatusEffectInstance effectInstance)
m_ksndgamr(PlayerEntity player, StatusEffectInstance arg1)
m_319436_(C_1141_ p_329932_, C_498_ arg1)
public boolean
a(arf 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 arg2)
m_305761_(C_12_ p_312381_, float p_334019_, int arg2)
public boolean
b(arf 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 arg2)
m_305594_(C_12_ p_310189_, float p_330888_, int arg2)
public boolean
a(arf 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)
public void
a(drh arg0, azh arg1, btc<?> arg2)
setEntityId(TrialSpawner arg0, RandomSource arg1, EntityType<?> arg2)
method_55189(class_8963 arg0, class_5819 arg1, class_1299<?> arg2)
m_sccvkbao(C_jelkcvqk arg0, C_rlomrsco arg1, C_ogavsvbr<?> arg2)
setEntityType(TrialSpawnerLogic logic, Random random, EntityType<?> type)
setEntityType(TrialSpawnerLogic spawnerLogic, RandomGenerator random, EntityType<?> entityType)
m_307184_(C_301982_ p_312395_, C_212974_ p_311226_, C_513_<?> arg2)
protected SpawnData
b(drh 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(drh arg0, dca arg1, drk 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(drk 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
c()
getSpin()
method_55202()
m_yjdsgxat()
getDisplayEntityRotation()
getDisplayEntityRotation()
m_306486_()
public double
d()
getOSpin()
method_55204()
m_rvfytrpa()
getLastDisplayEntityRotation()
getLastDisplayEntityRotation()
m_305098_()
SimpleWeightedRandomList<ItemStack>
a(arf arg0, dri arg1, iz 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)
m_qagcinaf(ServerWorld world, TrialSpawnerConfig arg1, BlockPos pos)
m_319751_(C_12_ p_328688_, C_302073_ p_329742_, C_4675_ arg2)
private static long
a(arf arg0, iz 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)
m_zdufupjc(ServerWorld world, BlockPos pos)
m_324844_(C_12_ p_332486_, C_4675_ p_332719_)