Jump to content

(1.19.3) What is wrong with my resource key?


Redjay

Recommended Posts

I have no clue what is wrong with my dimension resource key. I'm using it in my portal block but it is just sending the player into a weird limbo state. So I tracked down the problem to the fact that there is something wrong with my dimension resource key. Here is my code.
 

public class ModDimensions {
    public static final ResourceKey<Level>GREEN_DIMENSION = ResourceKey.create(Registries.DIMENSION, new ResourceLocation(Main.MOD_ID, "green_dimension"));
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.