Initial import
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
schedule function xaerominimap:load 20t replace
|
||||
|
||||
# Bypass: player dengan tag xaero_bypass selalu boleh memakai minimap di semua dimensi.
|
||||
execute as @a[tag=xaero_bypass] run effect clear @s xaerominimap:no_minimap
|
||||
|
||||
# Non-bypass: minimap hanya boleh aktif di dimensi yang masuk predicate allowed_dimension.
|
||||
execute as @a[tag=!xaero_bypass] at @s if predicate xaerominimap:allowed_dimension run effect clear @s xaerominimap:no_minimap
|
||||
execute as @a[tag=!xaero_bypass] at @s unless predicate xaerominimap:allowed_dimension run effect give @s xaerominimap:no_minimap 3 0 true
|
||||
Reference in New Issue
Block a user