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.

SchneiderMaster

Members
  • Joined

  • Last visited

  1. { "parent": "item/generated", "textures": { "layer0": "tutorial:items/ruby" } } This is in models/item/ruby.json The file is textures/items/ruby.png Also, my registry handler if you need it: @Mod.EventBusSubscriber public class RegistryHandler { public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, Tutorial.MOD_ID); public static void init(){ ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); } //Items public static final RegistryObject<Item> RUBY = ITEMS.register("ruby", ItemBase::new); } And my item base: public class ItemBase extends Item { public ItemBase() { super(new Item.Properties().group(ItemGroup.MATERIALS)); } }
  2. So, I have looked all over the internet to solve my problem, but I found nothing. My problem is the following: I have been following this tutorial on YouTube for creating a mod, because I am new to modding and know just the basics of Java: https://youtube.com/playlist?list=PLDhiRTZ_vnoWsCqtoG1X1MbGY5xATTadb I have come to the point, where I have created my own item but the texture of it won't show up in Minecraft. The model is displayed as an item as intended. I just always get this error in the logs when I'm trying to load up Minecraft: [07:58:51] [Worker-Main-14/ERROR] [minecraft/AtlasTexture]: Using missing texture, unable to load tutorial:textures/items/ruby.png : java.io.FileNotFoundException: tutorial:textures/items/ruby.png The .png is 16x16 pixels and placed in the correct directory. I really don't understand what I have done wrong. Please help me.

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.