Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot-system-V2 #91

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP
  • Loading branch information
VForiel committed Aug 7, 2023
commit bca26dd0dd8f6f6045dfc70d7115229182d22559
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# INFO ------------------------------------------------------------------------
# Copyright © 2023 Gunivers Community.

# Authors : Leirof
# Contributors :

# Version: 1.1
# Created: ??/??/???? (1.13)
# Last modification: 06/08/2023 (1.20.1)

# Documentation :
# Dependencies :
# Note :

# CODE ------------------------------------------------------------------------

kill @e[tag=bs.plot]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Created: ??/??/???? (1.13)
# Last modification: 06/08/2023 (1.20.1)

# Documentation : None
# Documentation :
# Dependencies : bs.location
# Note :

Expand All @@ -21,7 +21,7 @@ scoreboard players set @e[tag=bs.plot.new] bs.plot.n 1
# Positioning first entity on the left of the plot
scoreboard players operation @e[tag=bs.plot.new] bs.loc.x = $plot.origin_x bs.const
scoreboard players operation @e[tag=bs.plot.new] bs.loc.y = $plot.origin_y bs.const
scoreboard players operation @e[tag=bs.plot.new] bs.loc.y += $plot.height bs.const
scoreboard players operation @e[tag=bs.plot.new] bs.loc.y += $plot.half_size_y bs.const
scoreboard players operation @e[tag=bs.plot.new] bs.loc.z = $plot.origin_z bs.const
execute as @e[tag=bs.plot.new] run function bs.location:set/scale/3

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tag @e[tag=bs.plot.new] remove bs.new
tag @e[tag=bs.plot.new] remove bs.plot.new

# Creating new entity
summon armor_stand ~ ~ ~ {Tags:["bs","bs.plot","bs.plot.new"],Marker:1b,NoGravity:1b,Small:1b,Invisible:1b,ArmorItems:[{},{},{},{id:"minecraft:stone_button",Count:1b}]}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"bs.plot:clear/__main__"
]
}