Comments (25)
I'll be sure to add this in the next release.
from biometweaker.
Thanks.
On 2015-04-15, at 5:22 PM, Chris [email protected] wrote:
I'll be sure to add this in the next release.
—
Reply to this email directly or view it on GitHub.
Entertaining minecraft videos
http://YouTube.com/keybounce
from biometweaker.
Update: Some of the functionality you requested has been written.
ID ranges: a812428
Merging objects: e2b79cd
The ability to specify exclusions might take a while. This is due to the fact that the script commands are actually decoupled from the object. They are provided a biome id on instantiation. I'll have to do some rewriting of the command handling system for that functionality.
If you require the functionality I have written now, you can grab an untested build here.
from biometweaker.
Thank you.
Next request: For Biomes by type.
In other words, all biomes tagged as forest.
Or all biomes tagged as jungle.
Or all biomes tagged as sandy.
from biometweaker.
All requested features have been written. I'll close this issue when I release the next version. You can find a build with the features on the Jenkins server I linked earlier if you want it now.
from biometweaker.
Thank you.
I'm actually at the point of writing up the configs now. First "sanity" is being able to say "all biomes except twilight forest", without writing 60-ish biome numbers.
from biometweaker.
a supported version containing these changes has been released.
http://minecraft.curseforge.com/mc-mods/228895-biometweaker/files/2234661
from biometweaker.
Thank you.
from biometweaker.
Alright, what did I do wrong?
https://gist.github.com/keybounce/96a4743fd3fd995ec9a3
[23:32:18] [Server thread/ERROR] [FML]: A fatal exception occurred during the server about to start event
java.lang.ArrayIndexOutOfBoundsException: 31
at java.util.RegularEnumSet$EnumSetIterator.next(RegularEnumSet.java:104) ~[?:1.7.0_72]
at java.util.RegularEnumSet$EnumSetIterator.next(RegularEnumSet.java:78) ~[?:1.7.0_72]
at java.util.AbstractCollection.toArray(AbstractCollection.java:195) ~[?:1.7.0_72]
at net.minecraftforge.common.BiomeDictionary.getTypesForBiome(BiomeDictionary.java:206) ~[BiomeDictionary.class:?]
at me.superckl.biometweaker.util.BiomeHelper.fillJsonObject(BiomeHelper.java:72) ~[BiomeTweaker-1.7.10-0.6.39.jar:?]
at me.superckl.biometweaker.BiomeTweaker.onLoadComplete(BiomeTweaker.java:73) ~[BiomeTweaker.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_72]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_72]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_72]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_72]
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[forge-1.7.10-10.13.2.1343-1.7.10.jar:?]
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_72]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_72]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-16.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-16.0.jar:?]
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[LoadController.class:?]
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[LoadController.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_72]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_72]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_72]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_72]
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-16.0.jar:?]
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-16.0.jar:?]
at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-16.0.jar:?]
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) ~[LoadController.class:?]
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:696) ~[Loader.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288) ~[FMLClientHandler.class:?]
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541) ~[bao.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) ~[bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) ~[1.7.10-Forge10.13.2.1343-1.7.10.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_72]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_72]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_72]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_72]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) ~[launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ~[launchwrapper-1.11.jar:?]
from biometweaker.
This one appears to be my bad.
First off, BiomeTweaker does not support mid-line comments. Doing something like this
toRestore = forBiomes(166, 167) #Mesa plateau M's (both) are normal; F M gets dirt/trees.
will cause BiomeTweaker to ignore the line (and thus all subsequent lines that use that object). I'll add that in the future. The comments have to be made as entire lines, starting with '#'.
Second, are you aware that "HELLISH" is not a predefined BiomeDictionary type? Even so, BiomeTweaker is supposed to be able to handle that, and it's not - That's what's causing the crash. You'll have to live without this line
plateauNonMBiomes.addDicType("HELLISH")
until I get a fix out.
from biometweaker.
HA. I thought "HELLISH" was the tag for the super-hot (typically nether) biomes.
I can adjust my script for those :-)
Thank you.
from biometweaker.
Well, I found and fixed the issue. It has to do with how EnumSets optimize themselves. Adding new elements to an enum will break when added to an EnumSet created before that element was added (not surprisingly an ArrayIndexOutOfBoundsException).
The fix simply requires recreating the EnumSet:
I will (re)close this issue when I release the next version.
from biometweaker.
Alright, I think I have another issue. Updated file:
https://gist.github.com/keybounce/96a4743fd3fd995ec9a3
My line:
beaches=forBiomesOfType("BEACH")
beaches.set("topBlock", "minecraft:sand")
seems to be triggering errors:
[15:55:06] [main/INFO] [BiomeTweakerCore/]: Sucessfully patched net.minecraft.world.biome.BiomeGenBase! 14 patches were applied.
[15:55:06] [main/ERROR] [BiomeTweakerCore/]: Object not found: beaches
[15:55:06] [main/INFO] [BiomeTweakerCore/]: Finished script parsing. Ready to tweak.
Version: 49
from biometweaker.
Read the documentation carefully. You have a typo ;)
https://github.com/superckl/BiomeTweaker/wiki/Basic-Script-Commands#forbiomesoftypes
from biometweaker.
The sample line:
sandyWarmBiomes = forBiomesOfType("SANDY", "WARM")
I have
beaches=forBiomesOfType("BEACH")
I have changed two strings to one string.
... I verified that "BEACH" is a valid dictionary tag:
"Dictionary Types": [
"MUSHROOM",
"BEACH"
],
... if it's a typo, I don't see it.
from biometweaker.
You have
forBiomesOfType("BEACH")
which isn't a defined command. You're missing an 's':
forBiomesOfTypes("BEACH")
from biometweaker.
Oh fudge.
from biometweaker.
The sample code in the docs is also missing that s.
from biometweaker.
Touche >.<
from biometweaker.
Okay, I am now badly in need of being able to add a tag to selected biomes. There is no unused tag that I can re-use.
Awaiting re-compile ... :-)
from biometweaker.
What do you mean by tag?
from biometweaker.
Being able to tag a bunch of biomes with some new dictionary tag
allBiomes = forAllBiomesExcept(40-58, 163, 164, 166, 167)
I'd like to be able to tag 40-58 with TWILIGHT; some with HELLISH, some with UNCHANGED, etc.
Then, in Custom Ore Generation, I can trivially select biomes by a tag (it is hard to select by specific biome numbers, one line per biome, and there is no selecting ranges).
from biometweaker.
Oh, that was fixed a while ago. Whenever I commit a change the Jenkins server builds it. The fix I mentioned before is in build 51:
http://jenkins.superckl.me/job/BiomeTweaker/51/
Keep in mind though, it hasn't been completely tested.
from biometweaker.
Version 0.8.63 is out with these fixes and features.
from biometweaker.
Thank you.
from biometweaker.
Related Issues (20)
- Seemingly unable to remove biomes from world generation. [1.18.2] HOT 1
- forBiomesOfTypes() does not respect previously set types [1.12.2]
- [1.19.2-4.1.3] `/biometweaker output` doesn't generate biomes HOT 1
- Some chunks do not get their blocks replaced when using registerGenBlockRep [1.18.2]
- Cannot seem to remove a biome nor replace it in 1.19.2 HOT 2
- biomeTweaker fails to use remove() command [1.19.2] HOT 4
- Biometweaker not creating boimetweaker.cfg HOT 6
- registerGenBlockRep not working on custom biome HOT 1
- [1.18.2] Issues with the Tectonic Datapack
- cannot remove spawns from Panthalassa and Terralith
- [1.12.2] Set biome command not working
- [1.18.2] BiomeTweaker's blockRep configuration does not work on terrain datapacks HOT 1
- [1.19.2] issue with the "remove" command HOT 1
- [1.7.10] BiomeTweaker does not create scripts folder and mod is "loaded" not not "active" HOT 4
- Advanced block placement not working [1.19.2] HOT 1
- [Question] [1.18.2] Biome Dimension Placement HOT 1
- [1.12.2] Can't get get new biome to spawn in nether HOT 6
- Script doesn't work HOT 1
- [1.12.2] replacing one flower with another
- addSpawn doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biometweaker.