Jump to content

Sparib

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by Sparib

  1. IT FINALLY WORKS THANK YOU SO MUCH It finally showed some hope, thank you so much. I shouldn't need any more help because of all the references you've all given me. Again, THANK YOU SO MUCH!
  2. Okay, I was trying as best as possible to say the recommended version, but the latest of it because the two versions are latest and recommended so it's confusing talking about the latest recommended. But I'll try that!
  3. Would that be the Forge Mdk you're talking about? If so I have the recommended version that is the latest (31.1.0)
  4. So I switched to Eclipse and I made a class with an inner class that extends LootModifier and it still showed an error, and inside the forge snapshot with all the net.minecraftforge stuff I didn't have a net.minecraftforge.common.loot at all, which is used https://github.com/Sinhika/SimpleOres2/blob/1.15/src/main/java/mod/alexndr/simpleores/helpers/SimpleOresLootModifiers.java#L18 Attached it a screenshot showing the minecraftforge.common packages(?) and the LootModifierHandler with an inner class MobDropLootModifier that extends LootModifier. Both the import and LootHandler are errors.
  5. Alright, I don't understand this stuff yet so I think I might try easier things before attempting this
  6. When adding the loot modifiers registry(?) (I just kept the name from https://dragoness-e.dreamwidth.org/136561.html) I had to add the GlobalLootModifierSerializer (I just copied it) I got as far as GlobalLootModifierSerializer<T extends IGlobalLootModifier> and it said "cannot resolve symbol IGlobalLootModifier" That makes me think that I'm missing something or I'm just bad at this
  7. Thanks Draco (or Draco18s, idk how you like to be called), I got it now. Thanks for all your help, without you I would be absolutely lost. (And coffee)
  8. When it says Create a global_loot_modifiers.json file at /data/forge/loot_modifiers/ does that mean I have to get something more than the mdk or do I create that directory myself.
  9. I'll do that. Thanks! I can't do it right now because my computer's hard drive is dead
  10. I want to add a possible drop to all entities. I was reading the docs and that is almost straight from it.
  11. I don't know if I'm doing something wrong, or if it was removed and I'm using outdated tutorials, but I just started with this whole Minecraft Forge programming stuff (although I have programmed before) and I went to use LootEntryTable here: (I know it's not complete) @SubscribeEvent public void lootLoad(LootTableLoadEvent evt) { String name = evt.getName().toString(); if (name.contains("minecraft:entities")) { String entryName = name.split("/")[1]; entryName = "soulstone" + entryName; LootEntry ent = new LootEntryTable(); // ^^^^ } } The first time I added it, I hadn't added the import to use LootEntryTable so when it showed red I went to add the import, it said Create Class 'LootEntryTable'. LootTableList also doesn't work. The most annoying thing is that I couldn't find anything about it anywhere. I replaced all the files after redownloading the mdk and it still doesn't work. And I use IntelliJ, I'm not sure if that matters. Also, it's my first time posting here so if I forgot something just tell me what to add.
×
×
  • Create New...

Important Information

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