Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

jiggish

Members
  • Joined

  • Last visited

  1. Every time I try to construct a new Effect I get "The constructor Effect(EffectType, int) is not visible". I'm trying to register a new Effect as I would with anything else, following what I believe is the default procedure. @SubscribeEvent public static void registerEffects(final RegistryEvent.Register<Effect> event) { event.getRegistry().registerAll( EffectList.EFFECT_TEST = new Effect(null, 0).setRegistryName(location("effect_test")) ); logger.info("Potions registered."); } and about "EffectList..." public class EffectList { public static Effect EFFECT_TEST; } Even trying many others way (which I believe are all wrong) I'm still not able to use the constructor. What else should I be doing?
  2. I've just started trying to code for minecraft, having very little experience with Java, I decided my first try and learn would be to create a mod with a bunch of custom potions for the game, with new effects and everything, so I started following tutorials from zero, and reading all the documentation I could find, guiding my way into learning, but being completely unable to find anything that could teach how to create potions for 1.14.4. All the guides are outdated, even the topics on this forum all refer to 1.12.2/prior. There's no PotionType class, even the main Potion class is completely different, and the registry-thing deny any of my tries into inserting new potions or new effects into the game. Doing some more research, I found no mods online with new potions for 1.14.4. Is it even possible to create new potions with new effects? And how to?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.