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 TypeMethodDescriptiondefault booleanappliesTo(OffsetProviderContext context) The offset provider configuration to use when this override matches.@Nullable StringThe permission node to match, or null to match any player.@Nullable StringThe name or UUID of a specific player to match, or null to match any player.@Nullable StringgetWorld()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
-