Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16.3] [SOLVED] One-Sided Mod


jstN0body
 Share

Recommended Posts

Basically the title, I'm just trying to figure out what to do to get this working in a 1.16.3 mod, I was going to use the snippet from the documentation, but it doesn't work in 1.16, anyone have an updated version?

(here's the snippet from the docs)

ModLoadingContext.get().registerExtensionPoint(ExtensionPoint.DISPLAYTEST, () -> Pair.of(() -> FMLNetworkConstants.IGNORESERVERONLY, (a, b) -> true));

 

Edited by jstN0body
Link to comment
Share on other sites

38 minutes ago, yeah123456789 said:

What did you mean by "check your imports" because im also having the same issue in 1.16.3

If you copy and paste the line directly and try to add imports automatically, the IDE assumes that the lambda inside is invalid first and doesn't apply the imports. So you will need to manually add the imports in or force the automatic import somewhere else.

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
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.