Jump to content

Maxi07

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by Maxi07

  1. Do what Draco18s said first: change [ " d ", " d ", " x " ], to [ "d", "d", "x" ], So it is easier to craft the sword
  2. "type": "minecraft:crafting_shaped" (":" not "_" after minecraft)
  3. By the way: If you want that your recipe works with other diamonds added by other mods instead of the default minecraft one, then replace: with "D": { "tag": "forge:gems/diamond" }
  4. change "return" to "result" and "result" to "item"
  5. The file without a number, just "debug.log"
  6. A file were everything minecraft / forge does is logged
  7. minecraft:diamond is right please post your log
  8. It is your log. If you lunch your mod in your IDE, it is: "your project folder/run/logs/debug.log"
  9. This is the correct location. Please post your debug.log for more information
  10. Look at the default minecraft classes you will find the default logs in net.minecraft.block.Blocks
  11. This means you pc has not enough ram for java This means your pc has less than 4096M RAM It seams like your pc has only 4G / 4096M RAM. Your OS uses 2G alredy, so you have only 2G / 2048M left for minecraft / java. 1.14 or later... (but I helped you anyway, because this is rather a general pc problem then a minecraft / forge problem)
  12. Try to use 3072M / 3G, if possible more Mods -> more RAM
  13. So, can I use this or are there better ways?
  14. I may found a solution: The error was: Source not found So I thought: Where could eclipse find the source? Only IntelliJ has a decompiler - I am using Eclipse. And then I realized: I have the source on my hard drive! So I clicked on "attach source" and selected the src folder of my lib mod, and it worked. However I am not sure this is the right way to fix this problem.
  15. These are the latest 1.15 mappings: mappings channel: 'snapshot', version: '20200819-1.15.1' And for 1.16: mappings channel: 'snapshot', version: '20200723-1.16.1'
  16. 1.15.2 and 1.8.9 are completely different. I am sure you have to make two different mods. Your 1.15.2 code wont work on 1.8.9
  17. But the issues described at the end of the topics I quoted were not the one I have. I dont think it is a problem the jar is reobf, because it gets mapped again via fg.deobf What about this?
  18. Yes, I know. I run gradlew --refresh-dependencies, then gradlew genEclipseRuns eclipse, and then I refresh my IDE. This is what I have done five times
  19. Yes this is what I experienced too. I ran gradlew --refresh-dependencies, gradlew clean, gradlew genEclipseRuns eclipse and refreshed my IDE three times more, but it did not solve my problem. Then I did some research on forum topics I remember. At the last comment on each of this posts: In particular this: And you also said this: But the issues described at the end of the topics I quoted were not the one I have. I dont think it is a problem the jar is reobf, because it gets mapped again via fg.deobf
  20. If you are using 1.16.2 use OptiFine 1.16.2 too.
  21. You can also change the base value instead of using modifiers (i dont know if it makes a difference, but it is possible) You can also experiment with the /attribute command (works in 1.16.2, maybe broken in 1.16.1)
  22. This is what I get: After I ran "gradlew --refresh-dependencies" and "gradlew genEclipseRuns eclipse" (which usually fixes this whenever I have this error with default minecraft code) a few times again and refreshed eclipse the problem stays.
  23. Thanks! This makes sense and it also clears the question why my mod has to be mapped with fg.deobf
  24. Yes, i am extending net.minecraft.block.OreBlock and overwrite getExperience which returns a different int value depending on the block that calls the method, because I want that my ores drop xp too.
×
×
  • Create New...

Important Information

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