Interface OffsetProviderOverrideConfig


@NullMarked public interface OffsetProviderOverrideConfig
Container for a single line in the offsetProviderOverrides list in the CoordinateOffset configuration.

See Applying Offset Providers for more information about how overrides work.

  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
     
    The offset provider configuration to use when this override matches.
    @Nullable String
    The permission node to match, or null to match any player.
    @Nullable String
    The name or UUID of a specific player to match, or null to match any player.
    @Nullable String
    The name, key, or UUID of a world to match, or null to match any world.
  • Method Details

    • getOffsetProvider

      OffsetProvider getOffsetProvider()
      The offset provider configuration to use when this override matches.
    • getWorld

      @Nullable String getWorld()
      The name, key, or UUID of a world to match, or null to match any world.
    • getPermission

      @Nullable String getPermission()
      The permission node to match, or null to match any player.
    • getPlayer

      @Nullable String getPlayer()
      The name or UUID of a specific player to match, or null to match any player.
    • appliesTo

      default boolean appliesTo(OffsetProviderContext context)