-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placement option configuring with an Or Option instead of only And #141
Comments
The |
Yes it does make sense. However I my instance I want the following: Below:water OR Below:clay OR Beside:water OR Beside:clay. Which unfortunately is currently not possible. |
Ok, I get it now. You will need to choose between vertical and horizontal propagation, i.e., the distribution would only specify a We could add a setting that combines the adjacency restrictions with OR. But there is another problem: the distributions place blocks in increasing X, Y, Z. This will lead to strange asymmetry in X/Z and makes placing multiple layers underneath something impossible. We could address the Y restriction by an option that inverts the iteration. For X/Z symmetry, we would need to iterate outward/inward from/to the center (depending on a setting). This will be a lot of work and complexity to support this one use case. |
I'd also like to see finer control over the placement options although I understand it could grow complicated. If it was just possible to control north, south, east and west separately in PlacesBeside then you can achieve good smoothing of caves and things like that. For example when an air block is touching stone on 2 sides rather than just 1 side, you might want to fill it in with more stone. I don't mind making a java patch if you're interested. I looked at the code in BlockArrangement.matchesAt() and I assume it would be a fairly easy change around there and maybe some related places to allow per-direction matching. |
In general, I'm open to making this more powerful. Go ahead and submit something and we can discuss the specifics then. |
I'm currently configuring my personal ModPack and COG takes a while to perfect directly in XML.
Currently I ran into the issue of clay generation! I would like to generate clay blocks touching water or other clay blocks. I can use a PlacesBelow or a Placesbeside. But only seperately.
I want to be able to place my blocks under water or under clay or beside water or beside clay.
Currently combining the PlacesBelow and Placesbesides means I cannot create layers of clay!
I can only create single layers of clay.
Could this be implemented or would this slow down the custom ore generation to much?
Another option could be to implement a six axis touch version. So if in any of the surfaces of the block to place touches a certain type of block the condition is fullfilled.
e.g. If it touches water or clay the block can be replaced.
Guinaro
The text was updated successfully, but these errors were encountered: