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

public enum TrialSpawnerState

implements StringRepresentable

drk
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerState
net.minecraft.class_8967
net.minecraft.block.enums.TrialSpawnerState
net.minecraft.src.C_302094_
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerState

Enum constant summary

Enum Constant
a
INACTIVE
field_47383
INACTIVE
INACTIVE
b
WAITING_FOR_PLAYERS
field_47384
WAITING_FOR_PLAYERS
WAITING_FOR_PLAYERS
c
ACTIVE
field_47385
ACTIVE
ACTIVE
d
WAITING_FOR_REWARD_EJECTION
field_47386
WAITING_FOR_REWARD_EJECTION
WAITING_FOR_REWARD_EJECTION
e
EJECTING_REWARD
field_47387
EJECTING_REWARD
EJECTING_REWARD
f
COOLDOWN
field_47388
COOLDOWN
COOLDOWN

Field summary

Modifier and TypeField
private static final float
g
DELAY_BEFORE_EJECT_AFTER_KILLING_LAST_MOB
field_47389
START_EJECTING_REWARDS_COOLDOWN
f_303262_
private static final int
h
TIME_BETWEEN_EACH_EJECTION
field_47390
BETWEEN_EJECTING_REWARDS_COOLDOWN
f_302549_
private final String
i
name
field_47391
id
f_303350_
private final int
j
lightLevel
field_47392
luminance
f_302810_
private final double
k
spinningMobSpeed
field_47393
displayRotationSpeed
f_303620_
private final TrialSpawnerState$ParticleEmission
l
particleEmission
field_47394
particleEmitter
f_302969_
private final boolean
m
isCapableOfSpawning
field_47395
playsSound
f_303677_

Constructor summary

ModifierConstructor
private (String p_311771_, int p_309652_, TrialSpawnerState$ParticleEmission id, double luminance, boolean displayRotationSpeed)

Method summary

Modifier and TypeMethod
TrialSpawnerState
a(iz arg0, drh arg1, arf arg2)
tickAndGetNext(BlockPos arg0, TrialSpawner arg1, ServerLevel arg2)
method_55214(class_2338 arg0, class_8963 arg1, class_3218 arg2)
tick(BlockPos pos, TrialSpawnerLogic logic, ServerWorld world)
m_308008_(C_4675_ p_310869_, C_301982_ p_313233_, C_12_ arg2)
private void
a(arf arg0, iz arg1, drh arg2)
spawnOminousOminousItemSpawner(ServerLevel arg0, BlockPos arg1, TrialSpawner arg2)
method_58720(class_3218 arg0, class_2338 arg1, class_8963 arg2)
spawnOminousItemSpawner(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic)
m_322742_(C_12_ p_332679_, C_4675_ p_327911_, C_301982_ arg2)
private static Optional<Vec3>
a(arf arg0, iz arg1, drh arg2, drj arg3)
calculatePositionToSpawnSpawner(ServerLevel arg0, BlockPos arg1, TrialSpawner arg2, TrialSpawnerData arg3)
method_58721(class_3218 arg0, class_2338 arg1, class_8963 arg2, class_8966 arg3)
getPosToSpawnItemSpawner(ServerWorld world, BlockPos pos, TrialSpawnerLogic logic, TrialSpawnerData data)
m_319371_(C_12_ p_332378_, C_4675_ p_330701_, C_301982_ p_331338_, C_301979_ p_334280_)
private static Optional<Vec3>
a(bsw arg0, arf arg1)
calculatePositionAbove(Entity arg0, ServerLevel arg1)
method_58722(class_1297 arg0, class_3218 arg1)
getPosAbove(Entity entity, ServerWorld world)
m_320878_(C_507_ p_332455_, C_12_ p_334568_)
private static Entity
a(List<cmz> arg0, Set<UUID> arg1, drh arg2, iz arg3, arf arg4)
selectEntityToSpawnItemAbove(List<Player> arg0, Set<UUID> arg1, TrialSpawner arg2, BlockPos arg3, ServerLevel arg4)
method_58725(List<class_1657> arg0, Set<UUID> arg1, class_8963 arg2, class_2338 arg3, class_3218 arg4)
getRandomEntity(List<PlayerEntity> players, Set<UUID> entityUuids, TrialSpawnerLogic logic, BlockPos pos, ServerWorld world)
m_323848_(List<C_1141_> p_328857_, Set<UUID> p_330482_, C_301982_ p_335914_, C_4675_ p_330933_, C_12_ p_330297_)
private boolean
a(arf arg0, drj arg1)
timeToSpawnItemSpawner(ServerLevel arg0, TrialSpawnerData arg1)
method_58719(class_3218 arg0, class_8966 arg1)
shouldCooldownEnd(ServerWorld world, TrialSpawnerData data)
m_324229_(C_12_ p_334161_, C_301979_ arg1)
public int
a()
lightLevel()
method_55209()
getLuminance()
m_304822_()
public double
b()
spinningMobSpeed()
method_55215()
getDisplayRotationSpeed()
m_305120_()
public boolean
d()
hasSpinningMob()
method_55216()
doesDisplayRotate()
m_307384_()
public boolean
e()
isCapableOfSpawning()
method_55217()
playsSound()
m_306216_()
public void
a(dca arg0, iz arg1, boolean arg2)
emitParticles(Level arg0, BlockPos arg1, boolean arg2)
method_55210(class_1937 arg0, class_2338 arg1, boolean arg2)
emitParticles(World world, BlockPos pos, boolean ominous)
m_306816_(C_1596_ p_312414_, C_4675_ p_333242_, boolean arg2)
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()