Member
Level 37
Artisan Sus Taco
15

Forum Posts

1 - 3 of 3

    link2012
    06/07/2024 2:31 am
    Level 37 : Artisan Sus Taco
    history
    execute if score <player> <scoreboard> > <player2> <scoreboard2> run ...
    So for example, let's say I wanted to check if the number of eggs I have exceeds my egg limit:
    execute if score @s current_eggs > @s max_eggs run clear @s egg 1
    1
    link2012
    06/07/2024 2:26 am
    Level 37 : Artisan Sus Taco
    First, don't use AOE clouds. If you want to optimize the method you are using, use markers. They do not tick and are only referenced when called upon server-side such as with an @e check. If you want to go further, store all blocks that need to be restored in a data array, and iterate through it to restore them.



    My personal solution though would be to just have a copy of the map in its state you want to restore, and clone it back in at the end. You can filter a set of blocks for cloning to help improve performance using a block tag defined in your datapack.



    Hope this helps!
    1
    link2012
    06/07/2024 2:22 am
    Level 37 : Artisan Sus Taco
    Not that I know of. Biomes are not 1:1 like blocks are, but rather a 4x4 blob pattern. If you need this for working you may need to find a mod. If you need this for a map gimmick you will probably need to make something yourself.
    1

1 - 3 of 3

Welcome