Comments (4)
The issue is located in this method:
Whereas the vanilla method consults the BiomeManager for biomes, RWG's method does not. Vanilla method is detailed below:
IntCache.resetIntCache();
if (p_76937_1_ == null || p_76937_1_.length < p_76937_4_ * p_76937_5_)
{
p_76937_1_ = new BiomeGenBase[p_76937_4_ * p_76937_5_];
}
int[] aint = this.genBiomes.getInts(p_76937_2_, p_76937_3_, p_76937_4_, p_76937_5_);
try
{
for (int i1 = 0; i1 < p_76937_4_ * p_76937_5_; ++i1)
{
p_76937_1_[i1] = BiomeGenBase.getBiome(aint[i1]);
}
return p_76937_1_;
}
The crucial call is
int[] aint = this.genBiomes.getInts(p_76937_2_, p_76937_3_, p_76937_4_, p_76937_5_);
This conults the GenLayer class, which, when instantiated, consults the BiomeManager. GenLayer asks the BiomeManager for biomes when it is instantiated:
for (BiomeManager.BiomeType type : BiomeManager.BiomeType.values())
{
com.google.common.collect.ImmutableList<BiomeEntry> biomesToAdd = BiomeManager.getBiomes(type);
int idx = type.ordinal();
if (biomes[idx] == null) biomes[idx] = new ArrayList<BiomeEntry>();
if (biomesToAdd != null) biomes[idx].addAll(biomesToAdd);
}
The fix for this issue will not be easy from an outside source. The options are to either ask the author to consult the BiomeManager, or to use ASM to directly modify the method. I will probably ask the author before resorting to ASM.
from biometweaker.
I'm going to leave this here so that the author may see this.
@ted80
from biometweaker.
Alright, seems quite complicated from a non-Java dev perspective.but I suppose RWG is still in alpha as well so incompatibility can be expected. Already happy I can make some changes to the biomes using BiomeTweaker :)
Don't suppose he'll respond to this since I already PM'ed him about something else regarding compatibility and he just ignored me, and he doesn't seem to be replying to posts on his mod thread either but perhaps he'll make it compatible with BiomeTweaker anyway.
Anyways, thanks for the help.
from biometweaker.
That's unfortunate. I'm going to add a known bugs and incompatibilities section.
This issue will stay open for a while - until it seems as though the author of RWG will not respond.
from biometweaker.
Related Issues (20)
- 1.18+ Adding Features Doesn't Work HOT 9
- [Feature request] Bring back the BTSetBiome command HOT 2
- Scripts not working in 1.12.2
- removeBOP() only works intermittently [1.12.2] HOT 1
- 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
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.