I don't like the change to make all spawners require light level eleven (in 1.18). The notes mention that there's a "tag" one can use to set the light level back to where it belongs.
I would like to make this change, but I have no idea where to start.
How do I use a "tag" on my java singleplayer and/or personal server setup?
I would be OK with links that explain the process. But, I don't want to add any mods, datapacks, or resource packs unless it's absolutely required.
Thank you!
(NOTE: I'm an experienced programmer, but completely new to Minecraft "programming". So, I'll probably understand concepts, but not the terms.)
What I want to know is how to manipulate that tag in 1.18. I couldn't find anything on the wiki (even after asking) and Google was no help either (possibly from not using the right keywords).
Basically if the spawner spawns different amount of mobs, at different time in different light levels. If anything about the spawner was changed. You cannot use it yet as it had not been implemented in any snapshot, I think it's a planned feature.
You would have better luck asking on a faster site than a forum, since this isn't official yet as Tails pointed out. Any documentation is going to be from people actively testing, not record keepers.
Changing the NBT tags of a block can only be done through commands, using the data command. In a singleplayer world, you'll have to have cheats enabled or you'll have to be opped in multiplayer.
In this case you'll probably want something like (and replace x y z with your spawner's coordinates):
/data modify block x y z CustomSpawnRules[BlockLightLimit] set value 8
I'm not sure if that will actually work, the new tags might be in a different format but it'll be something like that.
The data command is really flexible so you might want to take a look at the wiki page
I saw that, but didn't think it applied. Do you mean I would have to use the command on each individual spawner?
I think you would have to, yeah. I don't know of a way to execute it on all spawners in a world. If you haven't already, you might want to post this question on the redstone section of the forum, they're usually really helpful over there but the regulars don't seem to look at other sections all that much.
I don't like the change to make all spawners require light level eleven (in 1.18). The notes mention that there's a "tag" one can use to set the light level back to where it belongs.
I would like to make this change, but I have no idea where to start.
How do I use a "tag" on my java singleplayer and/or personal server setup?
I would be OK with links that explain the process. But, I don't want to add any mods, datapacks, or resource packs unless it's absolutely required.
Thank you!
(NOTE: I'm an experienced programmer, but completely new to Minecraft "programming". So, I'll probably understand concepts, but not the terms.)
1.18 is not even released yet, stick to full releases.
I'm preparing for the future.
Plus, I would like to learn about tags anyhow.
Does anybody know how to use tags? Or where to find out? (I searched with Google, too, but can't find anything useful.)
I apologize that all you got was "it's not even out yet." I may know what tags are.
Either one may be the answer.
2. A NBT data tag that holds data about the item, block or entity. There are many different kinds and you can google what all of them mean.
Hopefully this helps!
Sorry, I wasn't clear. The tag I'm talking about is an NBT tag. Specifically:
Spawners now have a new CustomeSpawnRules [sic] tag, which lets players override the spawn rules of the spawned mob.
(I quoted that from the wiki article https://minecraft.fandom.com/wiki/Java_Edition_1.18_experimental_snapshot_2, although it's still in place as of the latest snapshot.)
What I want to know is how to manipulate that tag in 1.18. I couldn't find anything on the wiki (even after asking) and Google was no help either (possibly from not using the right keywords).
Basically if the spawner spawns different amount of mobs, at different time in different light levels. If anything about the spawner was changed. You cannot use it yet as it had not been implemented in any snapshot, I think it's a planned feature.
Thank you, but I just want to know how to use a tag. How do I change the value of a tag? There has to be some way, or they wouldn't exist.
You can use that tag as an EXAMPLE, but I want to know in general how tags work and how to use them to change (supported) functionality.
You would have better luck asking on a faster site than a forum, since this isn't official yet as Tails pointed out. Any documentation is going to be from people actively testing, not record keepers.
Please stop thinking in terms of this specific tag. I want to know how to change tags in general. I'm ONLY using this one as an EXAMPLE.
Changing the NBT tags of a block can only be done through commands, using the data command. In a singleplayer world, you'll have to have cheats enabled or you'll have to be opped in multiplayer.
In this case you'll probably want something like (and replace x y z with your spawner's coordinates):
I'm not sure if that will actually work, the new tags might be in a different format but it'll be something like that.
The data command is really flexible so you might want to take a look at the wiki page
I saw that, but didn't think it applied. Do you mean I would have to use the command on each individual spawner?
A plugin would work for that, once one was made for the version the spawner tag is added.
Sorry, I'm not interesting in modding the game. Mods cause too many problems in multiplayer.
Do you know: would I have to execute a command on each and every spawner (as we find them)?
I think you would have to, yeah. I don't know of a way to execute it on all spawners in a world. If you haven't already, you might want to post this question on the redstone section of the forum, they're usually really helpful over there but the regulars don't seem to look at other sections all that much.
OK, thank you.