Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Ommina

Ommina

Members
 View Profile  See their activity
  • Content Count

    65
  • Joined

    July 30, 2016
  • Last visited

    Sunday at 12:29 AM
  • Days Won

    1

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by Ommina

  • Prev
  • 1
  • 2
  • 3
  • Next
  • Page 1 of 3  
  1. Ommina

    Registry Order Between Mods

    Ommina posted a topic in Modder Support

    I need to make sure my understanding is correct. Within a mod, I appreciate that 'things' (whatever that thing might be) are registered in order of Block, Item, <rest of the stuff in whatever order it happen>. However, between mods, if one mod B is dependent on mod A, and is specified as such in mods.toml via ordering="AFTER", can I be confident that blocks from mod A will be registered before mod B registration begins? That is, can mod B fetch mod A blocks and be confident they are registered? I feel that's the whole point of indicating an order, but I've been caught by my own misinterpretations before.
    • September 26, 2020
    • 1 reply
  2. Ommina

    [1.16.1] Library Mod / Dependencies

    Ommina replied to Maxi07's topic in ForgeGradle

    I know it doesn't, and you don't need a sources jar. And not a flatDir repository. url "file:..."
    • August 29, 2020
    • 60 replies
  3. Ommina

    [1.16.1] Library Mod / Dependencies

    Ommina replied to Maxi07's topic in ForgeGradle

    OK. In the build.gradle for the library, at the bottom, there is a section for 'publishing'. Within that section is: repositories { maven { url "file:///${project.projectDir}/mcmodsrepo" } } Make note of the location. Or change it to something you like better. Or change it AND make note of it. I have to do a bit of hand-waving here, as I understand you are using Eclipse, and I don't know the Eclipse way of doing things. In IntelliJ there is a Gradle panel with a publishing section, command named 'publish'. Publish the library using this command. That will put the library into what amounts to a local Maven repository. In your mod, ADD that location to the mod's repositories section, keeping in mind you won't be able to use ${project.projectDir}. (This is why you might want to change it to a known convenient location.) THEN, under dependencies, compile fg.deobf("[path to library jar]") and that's it. The path matches how it appears under the mcmodsrepo folder.
    • August 29, 2020
    • 60 replies
  4. Ommina

    [1.14.4] How add JEI to own mod?

    Ommina replied to dyno's topic in ForgeGradle

    If you've added JEI via gradle, you do NOT need to also add it via other means. Remove the JEI jar from ./run/mods
    • August 29, 2020
    • 14 replies
  5. Ommina

    [1.16.1] Library Mod / Dependencies

    Ommina replied to Maxi07's topic in ForgeGradle

    I'm going to back up here a little bit, to ensure that I'm understanding the goal correctly. You want to add your own library as a dependency of your mod. But you don't necessarily want to be able to edit both the library and the mod at the same time. Building the library, and adding it in via gradle so it is available to the mod is sufficient?
    • August 29, 2020
    • 60 replies
  6. Ommina

    [1.14.4] How add JEI to own mod?

    Ommina replied to dyno's topic in ForgeGradle

    The JEI Getting Started guide includes instructions on editing your build.gradle to add JEI integration. See their Github wiki.
    • August 28, 2020
    • 14 replies
  7. Ommina

    1.16.2-33.0.5 - Modded Item Texture Not Loading

    Ommina replied to Jayliriah's topic in Modder Support

    Excellent - I'm glad you were able to get it working there. Minecraft modding is often an exercise in frustration and perseverance. But normally not this soon. I note there is a difference in the two Eclipse screenshots. In the original, the resources tree was displayed with a series of folder icons. In the latter, working version, it's a set of white squares with a cross-hatch. Presumably this is relevant but I couldn't tell you how.
    • August 20, 2020
    • 9 replies
  8. Ommina

    1.16.2-33.0.5 - Modded Item Texture Not Loading

    Ommina replied to Jayliriah's topic in Modder Support

    Thanks for the updated repository. I was able to load it up with no fuss. There IS some wobbly bits in mods.toml (you have the mod set as a dependent of itself), but I'm willing to bet those were changes you made in a desperate attempt to figure out why the rest wasn't working. As for the item texture itself... it worked. Just fine. Localization also. No errors, no warnings. Not even a hint of disapproval. So at this point I'm hoping somebody with more experience with Eclipse than I will join in. As far as code and layout and filenames and all that nonsense is concerned, you've got it all correct.
    • August 19, 2020
    • 9 replies
      • 1
      • Thanks
  9. Ommina

    1.16.2-33.0.5 - Modded Item Texture Not Loading

    Ommina replied to Jayliriah's topic in Modder Support

    Don't worry about the version differences. So it's simply not finding /models/item/wither_bone.json --- which takes us back to the structure of the project overall. The screenshot looks correct enough at first and second glance, but something clearly isn't. I see you have a lang folder. Have you created a translation for item.jaylicraft.wither_bone ? Since it isn't showing as translated in game, that would also suggest the structure is confused. I'm kinda concerned by the icons Eclipse is using for the resources. If you're willing to update the repository with the complete project, I'll figure it out locally. Or perhaps somebody with sharper eyes than I can work it out from the screenshots.
    • August 18, 2020
    • 9 replies
  10. Ommina

    1.16.2-33.0.5 - Modded Item Texture Not Loading

    Ommina replied to Jayliriah's topic in Modder Support

    You have not included all the build bits when you created you repository, so I'm making guesses that the structure is correct. However, you do have a directory named /textures/items instead of textures/item which will certainly prevent it from finding the texture.
    • August 18, 2020
    • 9 replies
  11. Ommina

    [1.15.x] Trying to insert a custom item into vanilla dungeon chests using Global Loot Modifiers

    Ommina replied to Salthin's topic in Modder Support

    It is? Even in 1.16.1, there's no indication anywhere that LootTableLoad event is deprecated. It's not that I disbelieve you, I just can't help but think that if there is a preference for modders to use one method over another, 'telling them' might be useful. But now I'm veering off-topic, and as @Salthin seems content, I'll step away.
    • August 3, 2020
    • 11 replies
  12. Ommina

    [1.15.x] Trying to insert a custom item into vanilla dungeon chests using Global Loot Modifiers

    Ommina replied to Salthin's topic in Modder Support

    There is the LootTableLoad event, in which you can add itemstacks to dungeon loot tables. Perhaps that would be less fussy?
    • August 3, 2020
    • 11 replies
  13. Ommina

    [SOLVED] [1.16.1] Block harvest level and tool is ignored.

    Ommina replied to RubyNaxela's topic in Modder Support

    What version of Forge? I believe this was fixed in, uhm, 32.0.55.
    • July 24, 2020
    • 9 replies
  14. Ommina

    [1.15.2][SOLVED] Render Fluid in GUI

    Ommina replied to Boy132's topic in Modder Support

    I'm going mostly by memory here. If the colour is wrong (it is), then you're not applying the color attribute of the fluid (fluid.getAttributes().getColor()). Apply the colour to GlStateManager.color4f before the blit. Reset after! For the scaling, the .bindTexture call looks wrong for reasons I don't remember. I want to say it takes a TextureAtlas ResourceLocation, instead of that of a particular sprite. The getUV methods inside the blit then pull the correct texture from the atlas.
    • April 26, 2020
    • 5 replies
  15. Ommina

    [1.15.2] WorldGen Carvers

    Ommina posted a topic in Modder Support

    So, anybody have a good tutorial / documented example / hint guide on creating a Carver for 1.15.2 ? My goal is to create a 'simple' underground fluid sphere; pretty much the same thing that Buildcraft has been doing for years. Needs to be able to cross chunk boundaries. (I could fit it into one chunk, but it's not as dramatic.) Vanilla's UnderwaterCaveWorldCarver has an encouraging name, but I'm getting lost in a sea of obfuscation. My experiments with registering my own have been less than successful. The entry function is being called multiple times (50 or more) per chunk, way more than I expected. I just don't understand enough about what carvers do and how then do it, even at a high level, to begin to piece together the vanilla code. I could just make a self-destructing TE create the sphere, and I could be done and moving on in a few minutes. But that feels like giving up. As always, thanks!
    • March 30, 2020
  16. Ommina

    (Solved) [1.14.4] How do I add my custom biome to the default-worldtype?

    Ommina replied to PianoManu's topic in Modder Support

    I'm... confused by this. Why the loop?
    • January 27, 2020
    • 3 replies
  17. Ommina

    [1.14.4 - eclipse] Recipes not working

    Ommina replied to Turtle_Bot's topic in Modder Support

    As an aside, you can add a json editor to Eclipse so it catches these kinds of errors for you.
    • January 25, 2020
    • 4 replies
  18. Ommina

    [1.14.4 - IntelliJ] Develop during runtime

    Ommina replied to ZemahZalek's topic in Modder Support

    To a point. You can Run -> Reload Changed Classes, which will allow you to fiddle with existing functions and see the result without having to restart. But it will only take you so far. You can't add functions, or make any real widespread change. Handy for debugging, but I've found a restart is usually in the near future. Alas, the last I've seen the resource reload work successfully was in 1.12.2.
    • January 25, 2020
    • 8 replies
  19. Ommina

    [1.14.4] Animated custom blocks?

    Ommina replied to Mihaitron's topic in Modder Support

    In your model .json, try removing the .png from the"gypsyfire_fire": "gc:block/gypsyfire_fire.png"textures node entry.
    • January 16, 2020
    • 5 replies
  20. Ommina

    [1.14.4] Chunk Loading, Revisited

    Ommina replied to Ommina's topic in Modder Support

    Well, we're here now, so we might as well stick with it. Chunk loading is largely covered by vanilla now; you'll find a forceChunk(int chunkX, int chunkZ, boolean add) inside ServerWorld. This, if I'm reading it correctly, appears to be saved with the Dimension data. There is also a public void forceChunk(ChunkPos pos, boolean add) in ServerChunkProvider -- this uses a ticketing type system similar (but not identical) to what ForgeChunkManager provided. You can also read some further discussion on mcenderdragon's (withdrawn) pull request.
    • January 15, 2020
    • 4 replies
  21. Ommina

    Change blockstate location for block

    Ommina replied to Focamacho's topic in Modder Support

    blockstate filenames are based on the registry name, so my immediate response is "you don't". The model, in turn, contains the block's texture, and I imagine you are not anxious to have all your blocks look identical.
    • January 15, 2020
    • 7 replies
  22. Ommina

    [SOLVED] [1.15.1] Crash during mod loading of custom command - TLDR: don't forget to reObfJar and use correct .jar file

    Ommina replied to wasEnabled's topic in Modder Support

    Try Tasks > build > build instead. You'll note one of the tasks listed as it does its thing is reObfJar (and that this task isn't listed for build > jar). That should leave you in good stead.
    • January 11, 2020
    • 8 replies
  23. Ommina

    [SOLVED] [1.15.1] Crash during mod loading of custom command - TLDR: don't forget to reObfJar and use correct .jar file

    Ommina replied to wasEnabled's topic in Modder Support

    How are you creating the jar? At first glance, this feels like the reobfJar task isn't happening.
    • January 11, 2020
    • 8 replies
  24. Ommina

    [1.14.4] My Kingdom for a World

    Ommina replied to Ommina's topic in Modder Support

    I've added the check, but it prompts a followup. I was working under the assumption that if the IBlockReader was also an IWorldReader once, it would be each time. Are cases such as "usually it is, but sometimes it might not be" typical?
    • January 10, 2020
    • 11 replies
  25. Ommina

    Files in resources folder are pretty much just getting ignored

    Ommina replied to wYvern's topic in Modder Support

    I would expect spelling "assets" correctly (instead of "asstes") will make a world of difference. Even in 1.14.4.
    • January 10, 2020
    • 5 replies
      • 1
      • Like
  • Prev
  • 1
  • 2
  • 3
  • Next
  • Page 1 of 3  
  • All Activity
  • Home
  • Ommina
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community