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.

d3us

Members
  • Joined

  • Last visited

  1. Thanks, I'll try it. Genius idea about it only changing when being held, but that would mean i would have to find a way to make the user keeps track of sword damage or ingame time.(Maybe also change sword texture based on time?)
  2. Hi, so I'm trying to make a sword that has an AD depending on the current time (ticks). The sword's attack damage should increment slowly from 0 at midnight towards 20 at noon and then drop back towards 0.(values are irellevant) Any ideas about how I would do that? I thought about only incrementing the AD every 600 or 300 ticks (30/15 seconds) so that I would only change it after the AD would hit a certain round value (1 or 0.5), but I don't really know how I would implement that. (The rest of the mod is empty, this would be the only thing in it) I'm new to modding with forge. Also new to modding. I'm ok with Java. Thanks for the help.
  3. d3us changed their profile photo
  4. Hi, I just updated my mod to the latest version of forge (from 1.15.2 to 1.16.4) Everything seems to be working just fine. (only some deprecated effects are used, the rest is all updated) I seem to keep getting this error and I don't understand what it's supposed to mean.
  5. Hi, so I'm trying to make a sword that has an attack damage dependant on the world time. From what I understand, it is too early to get the world time as early as the preInit, so I was thinking of initially setting the "timeAD" to something irrelevant, then replacing it with the actual "time attack damage" after the getWorldTime() is callable. This is my first mod, so how do I do that? The mechanic that I'm trying to achieve is the sword having the following attack damage: 0 at midnight, increasing tick by tick towards 50 at noon, then decreasing back to 0.

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.