Jump to content

Recommended Posts

Posted

Hi, I am creating a mod that ads drugs into the game. For beer I added the potion effect Nausea to my item.  My plan is to use custom potion effects for the other drugs, but i didnt find any tutorial on creating your own potion effects. My Question is how do i make custom effects? (sry for my bad english).Also I wondered how I can remove the glowing of an Item that has an effect attached to it.

Posted (edited)
On 10/15/2019 at 3:28 AM, Ninjamurai1234 said:

I figured out how i can make custom potioneffects but they only affect mobattributes like Speed. I want an effect that lowers the mouse sensiblity.

I don't know what is the specific way to do this, but you might want to use ticking event to check what entity is instanceof EntityPlayer with the potion effect, and there are a lot of mouse events it can use as well.

Edited by poopoodice

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.