Class KnownDimensionHelper
java.lang.Object
com.hypherionmc.simplerpc.integrations.known.KnownDimensionHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddKnownDimension(String resourceLocation, String displayName) Register a Custom Dimension to be resolved by the DIMENSION placeholderstatic StringtryKnownDimensions(String dimension)
-
Constructor Details
-
KnownDimensionHelper
public KnownDimensionHelper()
-
-
Method Details
-
addKnownDimension
Register a Custom Dimension to be resolved by the DIMENSION placeholder- Parameters:
resourceLocation- The ResourceLocation of the Dimension. For example: minecraft:overworlddisplayName- The name that will be displayed when the RPC placeholder is resolved
-
tryKnownDimensions
-