Jump to content

Ugdhar

Members
  • Posts

    2524
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by Ugdhar

  1. Bumping after only 6 hours is a little soon, it's kinda rude, just saying
  2. Does it say 1.15.2, or 1.5.2? A lot of people have been confusing the 2 lately I notice. . . .read CAREFULLY. Post a screenshot too please
  3. If you click the Files link at the top of the page, the latest version is literally right there in front of you.
  4. Did you try searching the forums at all? Search for "FillerBlockType" and the second one that comes up is https://www.minecraftforge.net/forum/topic/84537-solved-1152-custom-fillerblocktype-for-ore-generation/?do=findComment&comment=398530 and it's marked Solved, so there's likely some good information in there. Also, if you're trying something and it throws an exception, you should show code (all code, not just a line, there are things that could be related that you do not realize, a github repo is the best way to share), and post the debug.log that shows the actual error.
  5. Have you tried setting breakpoints? Just curious where in the code you make it to, and what is not doing as expected.
  6. It looks like you might be running out of memory, despite having a 64 bit Java. Can you post you full debug.log as described in the EAQ? It might have more information.
  7. If you remove optifine, does it work? The optifine changelog will tell you what versions, if any, of forge it is compatible with.
  8. Awesome, thank you! I also had to change that Y 90 to a 0, and there was another place I had 90 (not sure why, I think it was copied from the igloo?) for Y instead of 0, but now my stuff spawns pretty much as i expected! Do you happen to know much about structures, for instance what ScatteredStructure is vs Structure, or how the Placement configuration works? I've tinkered with it some but honestly have no clue what I'm doing, just tinkering, guessing, and stabbing in the dark lol. I'll leave the repository there, remove some of the stuff I was testing, and hopefully if someone else has issues they'll get some help from it.
  9. Thanks for taking the time to reply! I overrode func_225558_a_ in my structure, and also expanded it out a bit for debugging purposes/setting breakpoints. It seems to fire off true for everything every time the chunk positions match, so unfortunately I don't think this is my problem. I know it's something I'm missing, I just don't know what!!! I've updated my github repo with these changes if you feel like checking it out. Thanks again!
  10. Did you change your code to not run the event on the client? Is the event being fired? Did you set breakpoints? Please be more detailed, I can't see your entire project, so it's impossible to see the big picture.
  11. You don't show where you register your enchantment or anything. You should share your code as a github repo, it's really hard to read pasted into a post like that.
  12. Is your models.armor package in textures models/armor on the filesystem, or actually named models.armor? I've seen that happen before where it ends up actually being named "models.armor", and that won't work
  13. Just tried what? And what didn't work? Did you set a breakpoint to see if you reach the event?
  14. Please post the debug.log as described in the EAQ, it will give more details on what's happening.
  15. I don't think you can handle stuff like blocks breaking on the client, probably only on the server.
  16. Make sure you delete any mods you downloaded from there, and redownload from a good site such as curseforge.com. The link diesieben07 shared will give you a list of ones to avoid, I think they even have a browser extension that will warn you if you accidentally go to one. You never know what could be hidden in those .jar files downloaded from sketchy places!!!!
  17. Removed the extraneous structure block, but it doesn't seem to have helped at all. I implemented the place method in my structure class, just taking it from the parent instead of calling super so I could break down some of what it was doing, and as far as I can tell, it seems to never make it to actually generating pieces due to this returning an empty set: LongSet structRefs = chnk.getStructureReferences(this.getStructureName()); Unfortunately I can't figure out why, or where the value(s) are supposed to come from, aside from it being related to chunk position somehow. Hopefully there's enough info here that someone that knows can tell me where I went wrong/what to research, or someone with a bit more experience/knowledge with the internals could figure it out if they were bored
  18. Try removing Optifine. Where did you get your Optifine, anyway? I don't even see that version on their download page. Make sure you read the changelog for any version of Optifine you download, it will specify which version, if any, of forge that it works with.
  19. I combed through the debug.log, and I don't get any errors or anything, it all looks fine. https://gist.github.com/Ugdhar/be8b7180b72989bbe7934d69cbf2b92d Ah yes, I was playing with structure blocks (first time) and it said something about corners, so I was messing with that, but ended up only using the one block I think, but likely forgot to remove the other one. I'll fix that and update, and see if it helps. OMG if that's EVEN what is making this all not work. . .lol. I appreciate the help, thanks for taking time to glance at my stuff! I read your posts and try to keep in mind the advice you give people on how to do things I feel like I remember things like DeferredWorkQueue and doing things in appropriate registry events/DeferredRegister most of the time, thanks in part to reading your replies to others!
  20. You must not have checked out my github repo: public void commonSetup(FMLCommonSetupEvent args) { DeferredWorkQueue.runLater(() -> { Iterator<Biome> biomes = ForgeRegistries.BIOMES.iterator(); biomes.forEachRemaining((biome) -> { biome.addStructure(BRICK_HOUSE.withConfiguration(IFeatureConfig.NO_FEATURE_CONFIG)); biome.addFeature(GenerationStage.Decoration.SURFACE_STRUCTURES, BRICK_HOUSE.withConfiguration(IFeatureConfig.NO_FEATURE_CONFIG).withPlacement(Placement.NOPE.configure(IPlacementConfig.NO_PLACEMENT_CONFIG))); }); }); }
  21. Awesome, thank you, I was definitely missing that. Looking back it looks like that's done within the vanilla biome constructors, but I figured FMLCommonSetup would be a good place for it. This definitely made a difference, as now my /locate command returns some coordinates for me. Problem now however is when I go to said coordinates, there is no structure to be found, dig down to 0 or fly up to 255, and I find nothing in the area. Setting some breakpoints and debugging is showing me the place method is returning false, and stepping into it I get here in the place method within the Structure class: for(Long olong : worldIn.getChunk(i, j).getStructureReferences(this.getStructureName())) { but evidently this returns nothing, so the code in that for block is never run. I tried stepping into it, but it hits so many places I have no idea what it's really even supposed to be doing exactly, and I can't see where anything is missing, my structure name and stuff seems to come up when I inspect variables. I've updated my repo with the changes if you (or anyone!) feel inclined to check it out. Thanks again Ash for the addStructure, can't believe I missed that lol.
  22. So, I built a little house and saved it with a structure block, and I've been trying to get it to spawn in the world as a structure. I used the igloo as something to follow, and searched around on here and on google, and managed to get something that seems like it should be right, there's no errors, seems like my structure is registered properly, when I type /locate it shows as an option, but it always says "Could not find that structure nearby", and I never see it anywhere no matter how far I travel. Obviously I'm doing something wrong, and I honestly do not completely understand the system(s) being used to generate the structure, I just tried to dissect the igloo as much as I could and dumb it down to a simple house thing. If there are any explanations on how the structure/template system works out there, I'd love links If you'd like to take a look, here's the github link: https://github.com/Ugdhar/structest ***edit: I'm going to leave this public github repo as long as it exists/is free, for anyone else that needs an example or has issues. It's pretty basic, and I'm sure there's a million ways it can be configured/improved, but it works on a basic level, so is a good start. Thanks!
  23. 1.12 is no longer supported due to age. Please update to a modern (1.14.4/1.15.2) version to receive support. More information on supported versions can be found in the LTS link at the top of every page.
  24. What launcher are you using? I've never seen a log start like that. Are you sure that is the debug.log from %APPDATA%\.minecraft\logs ?
  25. So definitely first, I would update your forge and mappings to the latest. Makes development much easier. And you dimension is empty most likely because your chunk generator (class responsible for generating chunks/building the shape of the world) is empty. McJty has a dimension tutorial that has a simple chunk generator implemented you could take a look at: https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep12
×
×
  • Create New...

Important Information

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