#Prevent placed features from generating
1 messages · Page 1 of 1 (latest)
Overwrite those placed features so they just have a single placement modifier that sets the count to 0
Like this?
{
"feature": "pamhc2trees:acorn",
"placement": [
"count" : 0
]
}
Close, I recommend using Misode
I have no idea how to use that lmao
That's a very nice tool goddamn
it still wont work, even though it looks right and everything
"feature": "pamhc2trees:template",
"placement": [
{
"type": "minecraft:count",
"count": 0
}
]
}```
And I'm using a script to replace template with the name of the tree for all the files
Still getting a datapack error
@worn verge is there any reason it would fail to validate?
also is pinging discouraged here?
If you did it wrong
Just please don't be frivolous about it
Well yeah, but I did it the way you said it
Is this not what it should look like?
You made this modification the way I said, but you may have affected something else
The file contents are correct assuming that configured feature it's referencing actually exists
You need to check logs
does it log whenever you fail to validate a datapack? right now I'm creating a new world with the datapack in it to see if there are no trees
I've got the mod installed so they should exist no?
Seems like you changed it from acorn to template, so if there is no feature called template, then that would cause a validation error
It doesnt say that in the files, i'm using a python script to change that word to the kind of tree I need
No I told you to check the logs because it doesn't show any errors in logs when you fail to validate a data pack.
Yes, it will show there
Okay, well I can only comment on what I can actually see, so
You're right my bad
@worn verge I got the error. If you search for "guava" the error starts there
I don't recommend using the latest logs, you should just look at the live logs window
Like when using Prism? I can copy it out of there
Gonna be way easier to see the relevant error, and you can just copy over the non-indented lines
Like when using any client that includes a live window of the logs
Sorry for the silly questions, I like confirmation
Here ya go:
Yeah I mean this reads pretty simply as the configured feature pamhc2trees:guava not existing
Or itself is failing to validate for another reason
strange, because I'm pretty certain there's a gauva tree, but I'll check that now
If it's for some other strange reason how would you go about figuring that out?
Well I can't really speak to hypothetical problems that would cause phantom errors, because that's not a thing
We have an error here that is telling us what the problem is. It wouldn't be wrong or lying
I just checked, all things gauva are in the files and in-game
I decompiled the mod and gauva is in the configured feature folder, and guava_placed is in the placed feature
I'm aware, but clearly it's not seeing the guava tree for some reason even though related files are present in the mod files
Maybe they have the files but just forgot to include anything that actually generates them, could that be what happened? Maybe the trees already don't generate?
That wouldn't produce this error
You can certainly try removing your guava placed feature and see what happens
That's what I'm trying to, remove all the trees, and for some reason that one is throwing an error
If the files are there for it, why would it throw an error? Would it not throw an error for the other trees as well if it were the same issue?
Omg, I see what the problem is
@worn verge, it was a classic kind of error, they misspelled guava as gauva in the files
good thing I noticed that
Which is another way of saying there is no configured feature called guava 🙂
I'll close this if/once the datapack works
yeah, just gotta change it to gauva for the mispelling