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.

honn3x

Members
  • Joined

  • Last visited

Everything posted by honn3x

  1. I already did a "ModItemProperties" class But I need to know how to change texture and change magicpowerlevel... Basically, I'm using a super improvised system at the moment, so what I want is that: When the player's thirst reaches the maximum it returns to "0" and adds 1 in "magicpowerlevel" of the armor, and every 1 level, the texture of the armor changes... P.s. I Already did the system to whente player's thirst reachs the maximum it return to "0", I only need to know how to add 1 to "magicpowerlevel" I believe that the main json file should look something like:
  2. I would like to add a "Capability" to my armor and that at each "level" it changes the texture of the armor In practice: I created a custom armor, I wanted it to have a Capability of "Magic Power" and "Magic Resistance" And I wanted its texture to change as this capability changed, something like: if (armor.MagicPower == 1) { show "armor.textureMagicPower1" } if (armor.MagicPower == 2) { show "armor.textureMagicPower2" } if (armor.MagicPower == 2 && armor.MagicResistance == 1) { show "armor.textureMagicPower2MagicResistance1" } How can I do this?
  3. is it possible to create an item with several different texture variations that change as the "NBT" tag changes as well? (e.g. I'm currently making a "bandage" system, where if the player bleeds, the bandage should change the texture to another bandage with more blood, eg: change "bandage_layer_1" to "bandage2_layer_1" when NBT "bloodCount:1" -> NBT "bloodCount:2" {I don't know exactly if NBT would be the ideal use to "count" the amount of blood, if there is another better way please let me know... (I want this count to be per item)}

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.