Biomes in Jars [Forge]

Biomes in Jars [Forge]

375k Downloads

[Feature] Commands in datapacks

Vervixer opened this issue ยท 3 comments

commented

When using the command setchunkbiome in functions (As in datapacks), the log displays "com.mojang.brigadier.exceptions.CommandSyntaxException: A player is required to run this command here".

If it were possible to use it in code, then many interesting scenarios - like corrupting the world Terraria-style - become available.

commented

Hi! I would need to add coordinate arguments then. Would this work for datapacks?

commented

I think so. But even without arguments it should work I guess, because if you'll take coordinates of the "summoner" of the command then you can easily change that with execute at @s positioned ~ ~10 ~ run setchunkbiome test:test for example.

commented

Mod got updated! The command now accepts coordinates! :) Thank you for your suggestion!