Coder Social home page Coder Social logo

Comments (6)

TelepathicGrunt avatar TelepathicGrunt commented on June 3, 2024 1

You would use the biome blacklist for those structures. A dimension blacklist really doesn’t work without some massive ugly hackery as structures are tied to biome and dimensions can share biomes.

Instead of editing the config files directly, put on mod menu and you can access the config gui. Then in each config section for each structure, put in all of Heart of the Machine’s biomes into the biome blacklist. When done, close and restart Minecraft and the change will take effect.

from repurposedstructures-quilt.

copygirl avatar copygirl commented on June 3, 2024

In my case that is going to be sufficient, but I wonder what to do if the dimension had a ton of biomes (annoying to blacklist), or the dimension had Vanilla biomes.

from repurposedstructures-quilt.

TelepathicGrunt avatar TelepathicGrunt commented on June 3, 2024

Dimensions using vanilla biomes will still have the structures the biomes had in the overworld. This is the behavior that Mojang intended. Hence why I am hesitant to try and find a safe way to make structure not generate in the dimension. In fact, the actually class that generates the structure does not have access to the world and so, it can’t tell what dimension it’s in.

An idea could be to mess with the chunk generator as there’s something in it that also hold structures but multiple dimensions can share chunk generators too. Basically Mojang seemed to try really hard to tie structures to biomes and partially to chunk generators. And also prevent structures from even being dimension based

from repurposedstructures-quilt.

copygirl avatar copygirl commented on June 3, 2024

I see, that is perhaps a little unfortunate.

Additionally, something that would be nice is a global biome blacklist that applies to all features.
edit: And would it be possible to blacklist with wildcard? That way I could just blacklist hotm:*.

from repurposedstructures-quilt.

TelepathicGrunt avatar TelepathicGrunt commented on June 3, 2024

Version 1.6.2 Repurposed Structures is now out! The dimension blacklist is now an option in the Main category config menu.

Thank you for bringing up the dimension blacklist as when I was working on a Structure Tutorial Mod for modders, I looked closer at the chunkgenerator as realized the behavior of it changed. Before, if a structure's spacing was not in it, it would spawn the structure in every single chunk. Now, if the chunk generator doesn't have the structure's spacing, it won't spawn it at all. I took advantage of this new change and made a hack to allow the dimension blacklist to work. :)

Well, in theory it should work lmao. I didn't test it a lot

from repurposedstructures-quilt.

copygirl avatar copygirl commented on June 3, 2024

I just want to report real quick that the change appears to be working. Thank you!

from repurposedstructures-quilt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.