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.

tcrall71

Members
  • Joined

  • Last visited

  1. I have added what you asked for: https://github.com/tcrall71/BedderBeds-1.10.2-2.1
  2. I have created a GitHub account. If I have done things correctly, you can see my code at: https://github.com/tcrall71/BedderBeds-1.10.2-2.1/tree/master/main
  3. I am trying to create two items (a colored bed and colored sleeping bag) with 16 sub-items (colors) each. The textures for the items all seem to be registered correctly and show up in the game EXCEPT for metadata 0 (white) for both items. When I run the game, the console (Eclipse) does not report any missing texture messages, or any errors at all that I can find. The white texture files are .png files correctly named in EXACTLY the same format as the other colors and in the textures/items directory with the rest of the working textures. The model .jsons are in the models/item directory with the rest of the working model files, follow the same format as the other colors, and have the correct names in the same format as the other colors. I can't find any capitalization errors or misspellings. I am using the EnumDyeColor values, and have confirmed that white in that list is in fact called "white" and is value 0. When I print the variant names for the item registration to the console as it creates the Resource Location list to see if they are being registered with the right name, it prints "0" and "white" in exactly the same format as the rest of the colors. What am I doing wrong? My code is now located here: https://github.com/tcrall71/BedderBeds-1.10.2-2.1 [Edit:] After exhaustive testing: --using the .png for a different model to prove it works --using the model .json for a different variant to prove it works --using different .jsons and .pngs for variant 0 to prove the model and texture files are not the issue --creating an entirely new mod with the minimum code required for an item with metadata, including stripping out all loops, switches, references to other classes and methods in case the error is somewhere I am not looking at I am becoming fairly sure that this is a bug in Forge, and not my error at all. Can anyone help me confirm this?

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.