Class TrialSpawnerData

java.lang.Object
net.minecraft.world.level.block.entity.trialspawner.TrialSpawnerData

public class TrialSpawnerData extends Object
  • Field Details

    • TAG_SPAWN_DATA

      public static final String TAG_SPAWN_DATA
      See Also:
    • TAG_NEXT_MOB_SPAWNS_AT

      private static final String TAG_NEXT_MOB_SPAWNS_AT
      See Also:
    • DELAY_BETWEEN_PLAYER_SCANS

      private static final int DELAY_BETWEEN_PLAYER_SCANS
      See Also:
    • TRIAL_OMEN_PER_BAD_OMEN_LEVEL

      private static final int TRIAL_OMEN_PER_BAD_OMEN_LEVEL
      See Also:
    • MAP_CODEC

      public static com.mojang.serialization.MapCodec<TrialSpawnerData> MAP_CODEC
    • detectedPlayers

      protected final Set<UUID> detectedPlayers
    • currentMobs

      protected final Set<UUID> currentMobs
    • cooldownEndsAt

      protected long cooldownEndsAt
    • nextMobSpawnsAt

      protected long nextMobSpawnsAt
    • totalMobsSpawned

      protected int totalMobsSpawned
    • nextSpawnData

      protected Optional<SpawnData> nextSpawnData
    • ejectingLootTable

      protected Optional<ResourceKey<LootTable>> ejectingLootTable
    • displayEntity

      @Nullable protected Entity displayEntity
    • dispensing

      @Nullable private SimpleWeightedRandomList<ItemStack> dispensing
    • spin

      protected double spin
    • oSpin

      protected double oSpin
  • Constructor Details

  • Method Details