Interface Spawner

    • Method Detail

      • remainingDelay

        default Value.Mutable<Ticks> remainingDelay()
        Gets the Value.Mutable for the remaining delay before a new attempt at spawning an Entity is made.
        Returns:
        The immutable bounded value for the remaining delay
      • minimumSpawnDelay

        default Value.Mutable<Ticks> minimumSpawnDelay()
        Gets the Value.Mutable for the minimum spawn delay required between attempts to spawn an Entity.
        Returns:
        The bounded value of the minimum spawn delay
      • maximumSpawnDelay

        default Value.Mutable<Ticks> maximumSpawnDelay()
        Gets the Value.Mutable for the maximum spawn delay required between attempts to spawn an Entity.
        Returns:
        The bounded value of the maximum spawn delay
      • spawnCount

        default Value.Mutable<java.lang.Integer> spawnCount()
        Gets the Value.Mutable for the count of successful spawns of all Entity instances from the owning spawner. This count is simply a total count, there is no limitation on how many attempts are made to spawn an Entity.
        Returns:
        The immutable bounded value
      • maximumNearbyEntities

        default Value.Mutable<java.lang.Integer> maximumNearbyEntities()
        Gets the Value.Mutable for the limitation on the number of nearby Entity instances can exist near the owning spawner. The limitation is that if there are more Entity instances than the provided value, no attempts to spawn a new Entity will be made.
        Returns:
        The bounded value of the maximum supported nearby entities
      • requiredPlayerRange

        default Value.Mutable<java.lang.Double> requiredPlayerRange()
        Gets the Value.Mutable for the minimum range a Player must remain in proximity of the spawner, such that if a Player is NOT within the provided range, no attempts to spawn an Entity is made.
        Returns:
        The value of the required player range to spawn entities
      • spawnRange

        default Value.Mutable<java.lang.Double> spawnRange()
        Gets the Value.Mutable for the maximum range that an Entity can be spawned from the spawner.
        Returns:
        The immutable value of the maximum spawn range an entity can be spawned