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.

Eridani

Members
  • Joined

  • Last visited

Everything posted by Eridani

  1. You've demystified this a little bit for me and pointed out a good note - if I want to duplicate existing items, since I have the source code I can technically copy and paste it into my own class to clone the complete logic. I'll see how that goes. Thank you!
  2. Howdy! I have a simple objective, to make a new dye and fully incorporate it into the game give it its own wool, terractotta, banner, etc. Creating the dye item is easy - register dye item, make json recipe, done. But, I want to create super classes of the dyeable items in the game and set them to this maroon tint. And I don't know how to approach this. I see that many of these classes take the dyecolor as an argument, so allegedly if I simply add a color to the class I can then create many of the things I want with the new dyeColor. But since .class files are not modifiable (because they need to maintain where they come from), I cannot just add the dye . I also see the materialColor class, which I can create an new material color, but I don't know when that is used. There is also a colorhandlerevent where one can set the color of a textures layer of an object - this is what I think is the needed section. As of writing this I haven't read deeply to see how sepcifically each uniuqe block is colored, but this might be the right things to use where I can get the color of each object and set it during its construction by calling the colorhandler event. At any rate, there are probably also exceptions as well (such as glazed terracotta.) Just help understanding how objects are given color in general is probably all I need. Thank you in advance!

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.