Package com.lightning.northstar
Class NorthstarContentRemapper
java.lang.Object
com.lightning.northstar.NorthstarContentRemapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidonRemapContent(net.neoforged.neoforge.registries.RegisterEvent event) static voidstatic voidremap(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<?>> registry, net.minecraft.resources.ResourceLocation oldValue, net.minecraft.resources.ResourceLocation newValue) Remaps a datapack registry entrystatic <T> net.minecraft.resources.ResourceKey<T> remap(net.minecraft.resources.ResourceKey<T> original) static voidremap(net.minecraft.resources.ResourceLocation oldValue, com.tterrag.registrate.util.entry.RegistryEntry<?, ?> newValue)
-
Constructor Details
-
NorthstarContentRemapper
public NorthstarContentRemapper()
-
-
Method Details
-
remap
public static void remap(String oldValue, com.tterrag.registrate.util.entry.RegistryEntry<?, ?> newValue) -
remap
public static void remap(net.minecraft.resources.ResourceLocation oldValue, com.tterrag.registrate.util.entry.RegistryEntry<?, ?> newValue) -
remap
public static void remap(net.minecraft.resources.ResourceKey<? extends net.minecraft.core.Registry<?>> registry, net.minecraft.resources.ResourceLocation oldValue, net.minecraft.resources.ResourceLocation newValue) Remaps a datapack registry entry -
onRemapContent
public static void onRemapContent(net.neoforged.neoforge.registries.RegisterEvent event) -
remap
public static <T> net.minecraft.resources.ResourceKey<T> remap(net.minecraft.resources.ResourceKey<T> original)
-