Class KnownDimensionHelper

java.lang.Object
com.hypherionmc.simplerpc.integrations.known.KnownDimensionHelper

public class KnownDimensionHelper extends Object
  • Constructor Details

    • KnownDimensionHelper

      public KnownDimensionHelper()
  • Method Details

    • addKnownDimension

      public static void addKnownDimension(String resourceLocation, String displayName)
      Register a Custom Dimension to be resolved by the DIMENSION placeholder
      Parameters:
      resourceLocation - The ResourceLocation of the Dimension. For example: minecraft:overworld
      displayName - The name that will be displayed when the RPC placeholder is resolved
    • tryKnownDimensions

      @Internal public static String tryKnownDimensions(String dimension)