Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/07/19 in all areas

  1. Forge 1.13+ only works with Java 8-10, you have Java 11
    1 point
  2. You can use TextureStitchEvent.pre to add your textures, instead of creating a block or item. This may or may not also affect issue two. (I've not seen any texture problems, so far) That said, gigaherz has made further changes to the Fluid API that will remove the need for the manual texture stitching entirely. Keep an eye on Forge PR #6110 for details there.
    1 point
  3. You need a JDK, you pointed your IDE at a JRE and said "Here's my JDK"
    1 point
  4. For once someone saying "I have the same issue" actually has the same issue.... except OP got their answer and apparently the new person is expecting a different answer!
    1 point
  5. ...and this is why you use an IDE plugin that can find JSON errors for you.
    1 point
  6. Overriding json files and adding supplementary files works basically the same way.
    1 point
  7. If I remember correctly even the treasure loot tables are loaded via JSON and might be overrideable. If not you'll have to look through the objects the event gives you and what methods you can call on those objects.
    1 point
  8. This is for 1.12 you didn't click to go to 1.13. Mind you this is not what you should do to edit block loot tables anyways. Just create a json with the same name as the ones in the minecraft jar file under the folders data/minecraft/loot_tables/blocks. Then in your mod create the package under your resources folder data.minecraft.loot_tables.blocks. And put your json loot table there.
    1 point
  9. Override their loot table files. data.minecraft.loot_table.blocks I believe.
    1 point
  10. For future reference, an instance of Event will have all the relevant information stored in it. You can use your IDE to look at all the information stored in it.
    1 point
  11. It should still work what version are you modding for?
    1 point
  12. event.getEntityPlayer().getHeldItem(Hand.MAIN_HAND).getItem() == SOME_ITEM_FIELD
    1 point
  13. It's an event read about them here.
    1 point
  14. Use the PlayerEvent.BreakSpeed event and if the player isn't holding an item set the break speed to 0.
    1 point
  15. Appologies for posting, but Im literally at my wits end trying to find out how to allocate more ram. I promise you I've searched, but I keep being taken to threads that dont help me or dead end themselves. I keep being taken to threads telling me how to allocate more RAM for servers, I do not have a server. I've searched Google, various forums, Youtube, I just guess I dont know what search term to use I thought this would be a more common question, I guess not I do remember finding a video on how to install Forge and this had a bit that told me exactly what to do, I can no longer find the video. Feel my pain So, all I want to do is allocate more ram, My laptop has 6Gb and I'd like to give minecraft/java/forge half of it. Im playing single player, not on a server, with 27 mods updated for 1.7.10, although the splash screen says 41mods Im using Forge version forge-1.7.10-10.13.0.1180-installer This is my current JVM arguments line, I didnt make this, it was already there -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M I know its somethign to do with "Xmx1G", but I see various posts saying to set Xmn/Xms to half of it or something, but I dont have a Xms bit Ive tried changing it, but Im sure I have to also change the others, but dont know what to Im on Windows7 64bit and have the latest 64bit Java I hope one day its possible to do this on the mods/config screen for forge, like launchers. Im happy to accept any amount of flaming to get an answer, I just want to play the modpack I've made without crashing to out of memory errors every hour or so. thank you
    1 point
  16. 0 points
×
×
  • Create New...

Important Information

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