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

public enum TrialSpawnerState

implements StringRepresentable

dwe
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerState
net.minecraft.class_8967
net.minecraft.block.enums.TrialSpawnerState
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerState

Enum constant summary

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

Field summary

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

Constructor summary

ModifierConstructor
private (String arg0, int arg1, TrialSpawnerState$ParticleEmission id, double luminance, boolean displayRotationSpeed)

Method summary

Modifier and TypeMethod
TrialSpawnerState
a(ji arg0, dwa arg1, ard 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)
private void
a(ard arg0, ji arg1, dwa 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)
private static Optional<Vec3>
a(ard arg0, ji arg1, dwa arg2, dwd 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)
private static Optional<Vec3>
a(bum arg0, ard arg1)
calculatePositionAbove(Entity arg0, ServerLevel arg1)
method_58722(class_1297 arg0, class_3218 arg1)
getPosAbove(Entity entity, ServerWorld world)
private static Entity
a(List<coy> arg0, Set<UUID> arg1, dwa arg2, ji arg3, ard 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)
private boolean
a(ard arg0, dwd arg1)
timeToSpawnItemSpawner(ServerLevel arg0, TrialSpawnerData arg1)
method_58719(class_3218 arg0, class_8966 arg1)
shouldCooldownEnd(ServerWorld world, TrialSpawnerData data)
public int
a()
lightLevel()
method_55209()
getLuminance()
public double
b()
spinningMobSpeed()
method_55215()
getDisplayRotationSpeed()
public boolean
d()
hasSpinningMob()
method_55216()
doesDisplayRotate()
public boolean
e()
isCapableOfSpawning()
method_55217()
playsSound()
public void
a(dgj arg0, ji 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)
public String
c()
getSerializedName()
method_15434()
asString()