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
  • gottsch

gottsch

Members
 View Profile  See their activity
  • Content Count

    69
  • Joined

    September 15, 2014
  • Last visited

    February 17

Community Reputation

1 Neutral

About gottsch

  • Rank
    Stone Miner

Converted

  • Gender
    Male
  1. gottsch

    [Solved][1.15.2] Custom Feature runs on every Chunk load?

    gottsch replied to gottsch's topic in Modder Support

    Thanks ChampionAsh. That was my assumption on how it would work. Maybe it is the term "resolved" that could use more explaining. I did some more testing: 1. exploring my immediate area. 2. save and exit. 3. load world repeat steps 2 and 3. There are a set of chunks a distance away from me that generate on every load. If I get closer to them and save, exit and reload, then they won't generate. Does minecraft pre-generate non-visible chunks and then resolve them when they come within the render distance (thus being re-generated if they never were in render distance)?
    • January 8
    • 3 replies
  2. gottsch

    [Solved][1.15.2] Custom Feature runs on every Chunk load?

    gottsch posted a topic in Modder Support

    HI. I've added a custom test Feature, which adds a block to the surface. What i'm noticing is that the Feature generation is running every time a chunk loads. Isn't it only supposed to run once on chunk generation? Thanks
    • January 8
    • 3 replies
  3. gottsch started following [1.7.10] Custom Tile Entity Renders with Different Shade than Original Texture, [Solved][1.15.2] Mod adds datapack - not loaded, Rotating a part of Entity Model around 2 separate Rotation Points. and and 7 others January 6
  4. gottsch

    [Solved][1.15.2] Mod adds datapack - not loaded

    gottsch replied to gottsch's topic in Modder Support

    It is relevant because I was attempting to make this as simple for the end-user as possible - ie no extra steps (downloading extra files, jar digging, creating from scratch, etc). This had worked in 1.12.2 when you made a call to LootTableList.register() to register your loot tables. But it appears I won't be able to do this in the manner I hoped. Thank you for your replies.
    • January 6
    • 5 replies
  5. gottsch

    [solved][1.15.2] Accessing resource in my mod jar

    gottsch replied to gottsch's topic in Modder Support

    I had to go another route - I had to add another json file that explicitly listed the path to the resources and then was able to use FileUtils.copyInputStreamToFile(Objects.requireNonNull(mymod.class.getClassLoader().getResourceAsStream(resourcePath.toString())),
    • January 6
    • 2 replies
  6. gottsch

    [Solved][1.15.2] Mod adds datapack - not loaded

    gottsch replied to gottsch's topic in Modder Support

    Its not really that I need to perform actions dynamically, but I'm trying expose the mod's custom loot tables to the user so they can customize more easily without having to dig through the jar file to see the original loot tables.
    • January 6
    • 5 replies
  7. gottsch

    [Solved][1.15.2] Mod adds datapack - not loaded

    gottsch posted a topic in Modder Support

    My mod adds datapack data (custom loot tables) on load if they don't already exist. I am currently doing this during the WorldEvent.Load event, so that I can get the world save name. However, the WorldEvent.Load event fires AFTER datapack data is loaded, so the new files are not loaded when the world is loaded for the first time. Is there a different event or a better place where I can add the datapack data? Thanks
    • January 6
    • 5 replies
  8. gottsch

    [solved][1.15.2] Accessing resource in my mod jar

    gottsch posted a topic in Modder Support

    Hello. I'm updating my mod from 1.12.2 to 1.15.2. However, I am having issues accessing files in my mod jar (I copy some directories/files to the file system so the user can modify/configure). I used to be able to use MyClass.class.getResource("...") to get the URL to the resource, which I could later use to generate a FileSystem and walk all the file in a directory. However, in 1.15.2, the URL returned is no longer in the same format - it is like "modjar://[...path]". The path to the actual jar file is no longer available. Can anyone help on how to get access to files within the mod jar? Thanks, gottsch
    • August 29, 2020
    • 2 replies
  9. gottsch

    Rotating a part of Entity Model around 2 separate Rotation Points.

    gottsch replied to gottsch's topic in Modder Support

    Thank you for your quick response, but I haven't worked with matrices (for transformations) for a long time and rendering is my least favorite thing. Any examples you could point me at?
    • February 5, 2018
    • 2 replies
  10. gottsch

    Rotating a part of Entity Model around 2 separate Rotation Points.

    gottsch posted a topic in Modder Support

    I was wondering if you can rotate a part of an entity model around 2 separate rotation points? Say I have a box and I want to rotate it around (a, b, c) on the y-axis, but then need to rotate it around (x, y, z) on the x-axis. It seems you can use box.setRotationPoint() and box.rotateAngleX/Y/Z but this will only work against the one point. Ex. Minecraft Chest: The lid and latch both have the same rotation point so when they are rotated on the x-axis they rotate to the proper positions. But say I wanted to rotate the latch on the y-axis first but at a point much closer to the latch so it's rotating "in place".
    • February 4, 2018
    • 2 replies
  11. gottsch

    [1.9] Breaking Block Glitch

    gottsch replied to JimiIT92's topic in Modder Support

    I have the exact same issue and can't figure it out. I didn't have this issue with 1.8. Did you happen to solve this yet?
    • July 11, 2016
    • 4 replies
  12. gottsch

    [SOLVED][1.8] Custom Mod not Natural Spawning

    gottsch replied to gottsch's topic in Modder Support

    Thanks, that did the trick. The weird thing is I had manually constructed an array with most of all the biomes but that didn't seem to work, so I removed it altogether because I thought if not provided, the default would be all biomes. Looking at the code - obviously not - doh! Don't know what I screwed up before, but this works. Thanks again.
    • March 14, 2016
    • 6 replies
  13. gottsch

    [SOLVED][1.8] Custom Mod not Natural Spawning

    gottsch replied to gottsch's topic in Modder Support

    I originally was using a non-global ID, however, that didn't seem to work. Since each mod has it's own ID space, then the code I was using wasn't incorrect, just simply unnecessary, and shouldn't be causing any issues. I'll update it regardless as it doesn't make sense to keep (both the id selection and the helper method), but it doesn't solve the underlying issue.
    • March 14, 2016
    • 6 replies
  14. gottsch

    [SOLVED][1.8] Custom Mod not Natural Spawning

    gottsch replied to gottsch's topic in Modder Support

    Sorry, I forgot to add my method: @SuppressWarnings("unchecked") private void registerModEntityWithEgg(@SuppressWarnings("rawtypes") Class entityClass, String entityName, int mobId, int primary, int secondary) { EntityRegistry.registerModEntity(entityClass, entityName, mobId, Mobs.instance, 80, 3, false); EntityRegistry.registerEgg(entityClass, primary, secondary); } I'm using the ID generated in the calling method. I didn't see a method that doesn't take an ID.
    • March 13, 2016
    • 6 replies
  15. gottsch

    [SOLVED][1.8] Custom Mod not Natural Spawning

    gottsch posted a topic in Modder Support

    Hello, I have a custom mod which, I have registered the renderer, egg and entity for natural spawning, however, I have yet to see it actually spawn. I have it set in the same way as a vanilla mob (zombie). (The egg and renderer works, just not natural spawn). @EventHandler public void init(FMLInitializationEvent event) { // get next available id int mobId = 0; do { mobId++; } while(EntityList.getClassFromID(mobId) != null); registerModEntityWithEgg(GhoulEntity.class, "Ghoul", mobId, 0x3F5505, 0x4E6414); // register entities for natural spawn EntityRegistry.addSpawn(GhoulEntity.class, 100, 4, 4, EnumCreatureType.MONSTER); // register renderers proxy.registerRenderers(); }
    • March 13, 2016
    • 6 replies
  16. gottsch

    [SOLVED] MC1.8: getBlockState() - NoSuchMethodError

    gottsch replied to gottsch's topic in Modder Support

    Nevermind, I got it. Another one of my libraries wasn't be picked up for some reason. I'm not sure why that would cause the error I was getting but it is fixed now.
    • May 22, 2015
    • 3 replies
  • All Activity
  • Home
  • gottsch
  • Theme

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