Jump to content

Recommended Posts

Posted

I'm making a mars mod and I need a way to cause the player to suffocate unless wearing a specific helmet, and a way to make the player jump higher. 

I'm thinking maybe I can use the InitializationEvent to give the player Jump Boost when entering the new dimension and to take it away when leaving it. I have no idea how to do the suffocation though. 

Please take note that I am still very new to coding, so please try to explain what your suggestion does IN ENGLISH. 

 

P.S.: I have been looking at these mods so I can steal the code to accomplish BOTH of these, but I am having serious difficulty navigating the files to find what I need and isolate it for use in my own mod. If you can help with this, I would greatly appreciate it. 

Mars Mod: https://www.curseforge.com/minecraft/mc-mods/mars-mod-recreation 

Moon Mod: https://www.curseforge.com/minecraft/mc-mods/moon-mod 

 

Thank you in advance!  

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.