Giter VIP home page Giter VIP logo

Comments (8)

superckl avatar superckl commented on May 26, 2024

You can retrieve an object that excludes the "hell" and "sandy" types as well as the static ids given by doing the following:

nonVanilla = forBiomes(14, 37-39, 40-58, 163-167)
typedBiomes = forBiomesOfTypes("HELL", "SANDY")
allButTypedAndNonVanilla = forAllBiomesExcept(typedBiomes, nonVanilla)

Is that what you're looking for?

from biometweaker.

keybounce avatar keybounce commented on May 26, 2024

Ahh ... I can work with that

from biometweaker.

keybounce avatar keybounce commented on May 26, 2024

Ok, quick question:
Here's what I have so far, in the re-write

Mesas = forBiomes(37-39, 165-167)
mushroom=forBiomes(14)
beaches = forBiomesOfTypes("BEACH")
rivers = forBiomesOfTypes("River")
plateauNonM = forBiomes(36, 38, 39)
TF = forBiomes(40-58)
sandy = forBiomesOfTypes("Sandy")
nether = forBiomesOfTypes("Hell")
savannaMs = forBiomes(163, 164)

basicVanilla = forAllBiomesExcept(mushroom, TF, nether, sandy, savannaMs, beaches, rivers)

unchanged = forBiomes(savannaMs, TF, nether, Mesas)
targets = forAllBiomesExcept(unchanged)
lavaOceans = forAllBiomesExcept(TF)
sandyTops = forBiomes(beaches, rivers)
myceliumTops = forBiomes(mushroom)
hellify = forBiomes(plateauNonM)
sandyFiller = forBiomes(rivers)
sandstoneFiller = forAllBiomesExcept(rivers, unchanged)

yuckyTops = forAllBiomesExcept(unchanged, sandyTops, myceliumTops, hellify)

I now want to address the plateauNonM's, but not the Mesas. Logically, this would be, not "all biomes except", but "plateauNonM except".

As it turns out, this is only going to be Savanna Plateau -- so it's simple enough to hard-code a single biome ID. But I'm trying very hard to not do that.

from biometweaker.

superckl avatar superckl commented on May 26, 2024

I don't think there is a way to do that without explicitly writing "36" somewhere. The id resolution logic isn't smart enough to have exceptions override biome ids that are already there :(

Maybe I'll look into a command or something for that.

from biometweaker.

keybounce avatar keybounce commented on May 26, 2024

I guess, what I'd be looking for is some sort of "subtract X from this set" operation.

We can merge sets. But "subtraction" only exists in the sense of "subtract this from the set of all biomes".

from biometweaker.

superckl avatar superckl commented on May 26, 2024

Ability to subtract objects (as well as intersect):

http://jenkins.superckl.me/job/BiomeTweaker/95/

Mind giving it a go?

from biometweaker.

keybounce avatar keybounce commented on May 26, 2024

I'll give it a go / test on saturday :-). (Jampack is due on friday)

from biometweaker.

superckl avatar superckl commented on May 26, 2024

http://minecraft.curseforge.com/mc-mods/228895-biometweaker/files/2238153

Make sure it works for you :)

from biometweaker.

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.