Class BlockedSpawnPointError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>

  • All Implemented Interfaces:
    java.io.Serializable

    public class BlockedSpawnPointError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
    extends GameObjectValidationError<G,​A,​R>
    Indicates a spawn point that has can never spawn a mob because all possible destinations are blocked.
    See Also:
    Serialized Form
    • Constructor Detail

      • BlockedSpawnPointError

        public BlockedSpawnPointError​(@NotNull
                                      G blockedSpawnPoint)
        Creates a new instance.
        Parameters:
        blockedSpawnPoint - the blocked spawn point
    • Method Detail

      • getParameter

        @Nullable
        public @Nullable java.lang.String getParameter​(int id)
        Description copied from class: ValidationError
        Returns a parameter string to be used in the error message. It can be accessed with {4+id}.
        Specified by:
        getParameter in class ValidationError<G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
        Parameters:
        id - the error id
        Returns:
        the error string