Skip to content

rem

operator fun String.rem(other: String): ResourceLocation

Builds a ResourceLocation with this as the namespace and other as the path, e.g. "mymod" % "my_item".

operator fun Mod.rem(other: String): ResourceLocation

Builds a ResourceLocation namespaced under this Mod's id, with other as the path, e.g. MyMod.MOD % "my_item".

operator fun Archie.rem(other: String): ResourceLocation

Builds a ResourceLocation namespaced under Archie.MOD_ID, with other as the path, e.g. Archie % "main".