Class Relocation

java.lang.Object
org.geysermc.geyser.extension.relocator.Relocation

public class Relocation extends Object
https://github.com/lucko/jar-relocator/blob/master/src/main/java/me/lucko/jarrelocator/Relocation.java
Author:
lucko
  • Constructor Details

    • Relocation

      public Relocation(String pattern, String relocatedPattern, Collection<String> includes, Collection<String> excludes)
      Creates a new relocation
      Parameters:
      pattern - the pattern to match
      relocatedPattern - the pattern to relocate to
      includes - a collection of patterns which this rule should specifically include
      excludes - a collection of patterns which this rule should specifically exclude
    • Relocation

      public Relocation(String pattern, String relocatedPattern)
      Creates a new relocation with no specific includes or excludes
      Parameters:
      pattern - the pattern to match
      relocatedPattern - the pattern to relocate to
  • Method Details