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.

Featured Replies

Posted

context:

 

It is posible to create new color instances in order to dye armor?

 

So im looking for creating new dyes (harder to achieve) which cannot be emulated by mixing vanilla dyes. Like exclusive ones. And give some effects for the armor.

 

This is the concept:

 

- u get a drop from a mob or elsewhere

- that item is a dye, that can dye armor (and whool?)

- that color applies a color code which isn't found here https://minecraft.gamepedia.com/File:DyeGraph2.png

- that dyed leather armor has several effects which apply when the wearer gets attacked (by checking if dyed color matches)

 

7 minutes ago, ciroreed said:

It is posible to create new color instances in order to dye armor?

Sure, you can create your own dye system that can enumerate through all 16 billion colors if you want. You just need to make the system and handle it accordingly.

  • Author

I ask here expecting to receive some advice, like the name of the interfaces involved on this process. Thanks.

 

DyeUtils? or rather.. EnumDyeColor?

31 minutes ago, ciroreed said:

I ask here expecting to receive some advice, like the name of the interfaces involved on this process. Thanks.

Well the question you asked was can you add new colors of dye. The answer to that question is yes, you can if you wanted to. You would just need to rework the entire color system since it was only made to handle the 16 colors.

 

There was no interfaces to mention or classes to reference, anything you reference will most likely need to be redone and rehandled from scratch.

 

Also, 1.12.2 is not supported on this forum. Please check the banner to see the currently supported versions and update accordingly.

  • Author

Okay, thanks! im not asking about 1.12 specifically. My questions are mostly about forge concepts. I have both documentations opened and I can make my way. 1.16 answers will help me anyways

  • Guest locked this topic
Guest
This topic is now closed to further replies.

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.