Quick question, is it possible to -- in an online, multiplayer, vanilla world -- make command blocks that change a game rule for just a certain area.
The two specific functions i want to make are firetick=false and mobgriefing=false, but only in a limited area.
/gamerule doFireTick false
/gamerule mobGriefing false
those are the commands to do such a thing I believe.
However since I want it to be a limited area I have just been strapping on a radius deal so that mobgriefing and fire-spreading can happen else where, example:
/gamerule doFireTick false r=60
/gamerule mobGriefing false r=60
So, it doesn't really work. If you have a solution or if it is impossible to change game rules in a limited area let me know.
Quick question, is it possible to -- in an online, multiplayer, vanilla world -- make command blocks that change a game rule for just a certain area.
The two specific functions i want to make are firetick=false and mobgriefing=false, but only in a limited area.
/gamerule doFireTick false
/gamerule mobGriefing false
those are the commands to do such a thing I believe.
However since I want it to be a limited area I have just been strapping on a radius deal so that mobgriefing and fire-spreading can happen else where, example:
/gamerule doFireTick false r=60
/gamerule mobGriefing false r=60
So, it doesn't really work. If you have a solution or if it is impossible to change game rules in a limited area let me know.
Unfortunately that is not possible. However, you can use command blocks to detect when a player enters the specified area (as well as leave it) to change the gamerules. An issue would be multiple players at different locations.
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
The two specific functions i want to make are firetick=false and mobgriefing=false, but only in a limited area.
/gamerule doFireTick false
/gamerule mobGriefing false
those are the commands to do such a thing I believe.
However since I want it to be a limited area I have just been strapping on a radius deal so that mobgriefing and fire-spreading can happen else where, example:
/gamerule doFireTick false r=60
/gamerule mobGriefing false r=60
So, it doesn't really work. If you have a solution or if it is impossible to change game rules in a limited area let me know.
Unfortunately that is not possible. However, you can use command blocks to detect when a player enters the specified area (as well as leave it) to change the gamerules. An issue would be multiple players at different locations.
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
nevermind ... i was thinking gamemode instead of gamerule.....
what they said..
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.