Jump to content

InTheRiches

Members
  • Posts

    12
  • Joined

  • Last visited

InTheRiches's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thank you! I am a beginner with java and started during quarintine but I feel I have a good understanding, thank you for the advice!
  2. Also, if you know of a way I could properly learn how to do this or a tutorial you know of that would be amazing!
  3. I honestly had no idea what I was doing, I just thought this made the most sense, I am using 1.15.2 recommended forge version. Thanks for the feedback!
  4. I followed a coding tutorial for forge a couple weeks ago and I feel I am quite experienced with forge and the way it works. But the only thing I don't know how to do is create a chest, and i have been trying to debug for hours and I just can't seem to figure out what is wrong. If you know or could help, that would be greatly appreciated! Here is the gist - https://gist.github.com/InTheRiches/f85a22e2fe3c02128ae4f4359a8846ba
  5. it has the log lower down, I don't know why it did that
  6. I ran the debug setting then copied and pasted the log, where else would I find a log? I went into runs and selected debug.log, here it is - https://gist.github.com/InTheRiches/c1926e34e7279bb5b6d14a3a4e127383
  7. DaemonUmbra I am following a tutorial made by TechnoVision, here's the link to the episode I am following -
  8. Here is the GitHub - https://gist.github.com/InTheRiches/83c0a0be45ae2649df9983eb92b22c3e.js
  9. Forges website kept crashing so I put the log in a google doc, here is the link - https://docs.google.com/document/d/13LTSnQ-hRPfz93nvyf6WoVoowt8QSvU1HdMDfqfQ19w/edit?usp=sharing
  10. Thank you, but it still doesn't function correctly. It still is just purple and black
  11. I am fairly new to coding in Forge but I understand the basics. I have set up a DeferredRegistry item and set up the texture with a .json and have use a .lang file to rename it. When I load the game, all I see is a purple and black cube that says "Ruby". I don't understand why the texture won't load for it. Here is the code - Here is the ruby.json { "parent": "item/generated", "textures": { "layer0": "tutorialmod:items/ruby" } } Here is the en_us { "item.tutorialmod.ruby": "Ruby" } Here is the RegistryHandler package net.InTheRiches.tutorial.Utilities; import net.InTheRiches.tutorial.tutorialmod; import net.InTheRiches.tutorial.items.ItemBase; import net.minecraft.item.Item; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class RegistryHandler { public static final DeferredRegister<Item> ITEMS = new DeferredRegister<>(ForgeRegistries.ITEMS, tutorialmod.MOD_ID); public static void init() { ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); } //Items public static final RegistryObject<Item> RUBY = ITEMS.register("ruby", ItemBase::new); }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.