Uses of Record Class
nl.pim16aap2.animatedarchitecture.core.structures.StructureOwner
Packages that use StructureOwner
Package
Description
This package contains various factories for creating objects used in the project.
Contains interfaces and classes for handling events related to AnimatedArchitecture structures.
This package contains classes that define, manipulate, and manage structures.
This package contains implementations for all event-related classes for the AnimatedArchitecture plugin for the
Spigot platform as well as utilities to call events.
This package contains classes that provide implementations for various interfaces in the core module for the Spigot
platform.
-
Uses of StructureOwner in nl.pim16aap2.animatedarchitecture.core.api.factories
Methods in nl.pim16aap2.animatedarchitecture.core.api.factories with parameters of type StructureOwnerModifier and TypeMethodDescriptiondefault IStructurePrepareAddOwnerEventIAnimatedArchitectureEventFactory.createStructurePrepareAddOwnerEvent(Structure structure, StructureOwner newOwner) Constructs a newIStructurePrepareAddOwnerEventand assumes it was not added by anIPlayer.IAnimatedArchitectureEventFactory.createStructurePrepareAddOwnerEvent(Structure structure, StructureOwner newOwner, @Nullable IPlayer responsible) Constructs a newIStructurePrepareAddOwnerEvent.IAnimatedArchitectureEventFactory.createStructurePrepareRemoveOwnerEvent(Structure structure, StructureOwner removedOwner) Constructs a newIStructurePrepareRemoveOwnerEventand assumes the owner was not removed by anIPlayer.IAnimatedArchitectureEventFactory.createStructurePrepareRemoveOwnerEvent(Structure structure, StructureOwner removedOwner, @Nullable IPlayer responsible) Constructs a newIStructurePrepareRemoveOwnerEvent. -
Uses of StructureOwner in nl.pim16aap2.animatedarchitecture.core.events
Methods in nl.pim16aap2.animatedarchitecture.core.events that return StructureOwnerModifier and TypeMethodDescriptionIStructurePrepareAddOwnerEvent.getNewStructureOwner()Gets the newStructureOwnerthat will be added to the structure.IStructurePrepareRemoveOwnerEvent.getRemovedStructureOwner()Gets theStructureOwnerthat will be removed from the structure. -
Uses of StructureOwner in nl.pim16aap2.animatedarchitecture.core.structures
Methods in nl.pim16aap2.animatedarchitecture.core.structures that return StructureOwnerModifier and TypeMethodDescriptionIStructureConst.getPrimeOwner()Gets the prime owner (permission = 0) of this structure.Structure.getPrimeOwner()StructureSnapshot.getPrimeOwner()@Nullable StructureOwnerStructureModifier.removeOwner(Structure structure, UUID ownerUUID) Removes an owner from this structure.Methods in nl.pim16aap2.animatedarchitecture.core.structures that return types with arguments of type StructureOwnerModifier and TypeMethodDescriptionAttempts to get theStructureOwnerof this structure represented by the UUID of a player.default Optional<StructureOwner> Attempts to get theStructureOwnerof this structure represented by anIPlayer.IStructureConst.getOwners()Gets allStructureOwners of this structure, including the original creator.Structure.getOwners()StructureSnapshot.getOwners()StructureSnapshot.getOwnersMap()Methods in nl.pim16aap2.animatedarchitecture.core.structures with parameters of type StructureOwnerModifier and TypeMethodDescriptionbooleanStructureModifier.addOwner(Structure structure, StructureOwner structureOwner) Adds an owner to a structure.StructureBuilder.IBuilderPrimeOwner.primeOwner(StructureOwner primeOwner) Sets the prime owner of the structure.StructureAnimationRequestBuilder.IBuilder.responsible(@Nullable StructureOwner structureOwnerOwner) Method parameters in nl.pim16aap2.animatedarchitecture.core.structures with type arguments of type StructureOwnerModifier and TypeMethodDescriptionStructureBuilder.IBuilderOwners.ownersOfStructure(@Nullable Map<UUID, StructureOwner> owners) Sets the (co-)owner(s) of the structure (including the prime owner). -
Uses of StructureOwner in nl.pim16aap2.animatedarchitecture.spigot.core.events
Methods in nl.pim16aap2.animatedarchitecture.spigot.core.events that return StructureOwnerModifier and TypeMethodDescriptionStructurePrepareAddOwnerEvent.getNewStructureOwner()StructurePrepareRemoveOwnerEvent.getRemovedStructureOwner()Constructors in nl.pim16aap2.animatedarchitecture.spigot.core.events with parameters of type StructureOwnerModifierConstructorDescriptionStructurePrepareAddOwnerEvent(Structure structure, @Nullable IPlayer responsible, StructureOwner newStructureOwner) StructurePrepareRemoveOwnerEvent(Structure structure, @Nullable IPlayer responsible, StructureOwner removedStructureOwner) -
Uses of StructureOwner in nl.pim16aap2.animatedarchitecture.spigot.core.implementations
Methods in nl.pim16aap2.animatedarchitecture.spigot.core.implementations with parameters of type StructureOwnerModifier and TypeMethodDescriptionAnimatedArchitectureEventFactorySpigot.createStructurePrepareAddOwnerEvent(Structure structure, StructureOwner newOwner, @Nullable IPlayer responsible) AnimatedArchitectureEventFactorySpigot.createStructurePrepareRemoveOwnerEvent(Structure structure, StructureOwner removedOwner, @Nullable IPlayer responsible)