Class OPACServerAddonRegisterEventContext

java.lang.Object
xaero.pac.common.event.api.OPACServerAddonRegisterEventContext

public class OPACServerAddonRegisterEventContext extends Object
The context for the addon register event on the server side
  • Constructor Details

    • OPACServerAddonRegisterEventContext

      public OPACServerAddonRegisterEventContext(@Nonnull net.minecraft.server.MinecraftServer server, @Nonnull IPlayerPermissionSystemRegisterAPI permissionSystemManagerAPI, @Nonnull IPlayerPartySystemRegisterAPI partySystemManagerAPI, @Nonnull IClaimsManagerTrackerRegisterAPI claimsManagerTrackerAPI, @Nonnull IClaimActionListenerManagerAPI claimActionListenerManagerAPI, @Nonnull IChunkAccessOverriderManagerAPI chunkAccessOverriderManagerAPI)
      The constructor for internal use.
      Parameters:
      server - the server, not null
      permissionSystemManagerAPI - the permission system manager API, not null
      partySystemManagerAPI - the party system manager API, not null
      claimsManagerTrackerAPI - the claims manager tracker API, not null
      claimActionListenerManagerAPI - the claim action listener manager API, not null
      chunkAccessOverriderManagerAPI - the chunk access overrider manager API, not null
  • Method Details

    • getServer

      @Nonnull public net.minecraft.server.MinecraftServer getServer()
      Gets the Minecraft server.
      Returns:
      the server, not null
    • getPermissionSystemManagerAPI

      @Nonnull public IPlayerPermissionSystemRegisterAPI getPermissionSystemManagerAPI()
      Gets the permission system manager API.
      Returns:
      the permission system manager API, not null
    • getPartySystemManagerAPI

      @Nonnull public IPlayerPartySystemRegisterAPI getPartySystemManagerAPI()
      Gets the party system manager API.
      Returns:
      the party system manager API, not null
    • getClaimsManagerTrackerAPI

      @Nonnull public IClaimsManagerTrackerRegisterAPI getClaimsManagerTrackerAPI()
      Gets the claims manager tracker API.
      Returns:
      the claims manager tracker API, not null
    • getClaimActionListenerManagerAPI

      @Nonnull public IClaimActionListenerManagerAPI getClaimActionListenerManagerAPI()
      Gets the claim action listener manager API.
      Returns:
      the claim action listener manager API, not null
    • getChunkAccessOverriderManagerAPI

      @Nonnull public IChunkAccessOverriderManagerAPI getChunkAccessOverriderManagerAPI()
      Gets the chunk access overrider manager API.
      Returns:
      the chunk access overrider manager API, not null