Jump to content

Recommended Posts

Posted

I'm making a mod which involves certain blocks having directional properties, however for some reason my IntelliJ is unable to recognise the public enum Direction. I've dug around a bit and it recognizes some other classes in net.minecraft.core just fine (BlockPos for example). Without being able to use Direction I'm pretty much unable to use things like BlockState.isFaceSturdy. Could I have set up my Gradle wrong somehow? Is it something else? Are there any workarounds?

Posted

UPDATE: I decided to keep going with the programming despite all of the errors, and even though IntelliJ can't recognize Direction, I'm able to run the code okay? I guess this is solved, though it is annoying to have functioning code be flagged with 64 project errors.

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.

Announcements



×
×
  • Create New...

Important Information

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