Jump to content

Recommended Posts

Posted

So this has me a bit flustered: I'm porting a mod to Forge. So far I've gotten everything to work out pretty well, but for some reason I've gotten to the final major feature of the mod and I've run into a roadblock.

 

The mod has large city features that generate in the Nether, using custom blocks for a majority of their construction. When I try to generate the structures using the custom NBT-reading feature generation, they work fine. However, when I try to use the mod's city-generating structure they only generate the Vanilla blocks. I thought it had something to do with the custom palette StructureProcessor, but disabling that changed nothing except leaving the Structure Blocks behind after generation.

 

Repository is here: https://github.com/lamoyrl90/Better-Nether-Forge

 

I could definitely use a little bit of help on this one.

Posted

I've tried messing with that. It's located in the placeInChunk method in the CityBuildingStructure class. I left it on BlockIgnoreStructureProcessor.AIR_AND_STRUCTURE_BLOCKS. Didn't seem the affect anything. =(

Posted (edited)

Only within the City code. When I place the buildings individually as features it works fine too. There's something messed up in the City package.

 

What's more strange is that my debugger showed that the correct blockstates are making their way to the method that sets them in the world, but for some reason it's only setting the vanilla blockstates.

 

And another strange thing is that the code I'm using OUTSIDE the City package uses the same method as the City package does itself. So I'm stumped.

Edited by Red90

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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