Skip to content

Commit

Permalink
1.19 Update
Browse files Browse the repository at this point in the history
removed patch because its broken for some unknown very strange reason
  • Loading branch information
Infamous committed Mar 11, 2023
1 parent a1db9a1 commit 37ec988
Show file tree
Hide file tree
Showing 80 changed files with 18 additions and 14 deletions.
File renamed without changes.
@@ -1,8 +1,11 @@
#load
#patch
execute unless score #patch marks.config matches 0.. unless score #patch marks.config matches ..0 run scoreboard players add #patch marks.config 0
### Update Patch ### - tem,p upded, change interanl after im done!
execute if score #patch marks.config matches ..60 run function markrec:patch
### Update Patch ###
# dev purposes only because apperntly this is broken for some ungodly unintuitive reason - literally the same command down below is working... i dont fucking know............
#execute unless score #patch marks.config matches 0.. run scoreboard players set #patch marks.config 0
#scoreboard players add #patch marks.config 0
# - Stable 3.1+ = 61
#execute if score #patch marks.config matches ..60 run function markrec:patch


scoreboard objectives add setmark trigger "Set Mark"
Expand Down
10 changes: 10 additions & 0 deletions MarkRec_V3.2.19/data/markrec/functions/mark_recall.mcfunction
@@ -0,0 +1,10 @@
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark_add"]}}}] run function markrec:trigger_add
execute as @s[nbt={Inventory:[{Slot:-106b,id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark_add"]}}]}] run function markrec:trigger_add
#scoreboard players set @s mark_add 0
#
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Recall"]}}}] run function markrec:trigger_markrec
execute as @s[nbt={Inventory:[{Slot:-106b,id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Recall"]}}]}] run function markrec:trigger_markrec
#scoreboard players set @s recall 0
#
execute as @s[nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark"]}}}] run function markrec:trigger_setmarkrec
execute as @s[nbt={Inventory:[{Slot:-106b,id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark"]}}]}] run function markrec:trigger_setmarkrec
Expand Up @@ -7,4 +7,4 @@ execute if score #patch marks.config matches ..50 run scoreboard players set #pa
#update both patch numbers when patching
function markrec:reinstall
#
#say patching mark
say patching mark
Expand Up @@ -6,16 +6,7 @@ execute as @a if score @s tpa.pid matches 1.. unless score @s markrec_id matches
execute as @a unless score @s markrec_id matches 1.. store result score @s markrec_id run scoreboard players add #last markrec_id 1

#
execute as @a[scores={mark.recall=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark_add"]}}}] run function markrec:trigger_add
execute as @a[scores={mark.recall=1..},nbt={Inventory:[{Slot:-106b,id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark_add"]}}]}] run function markrec:trigger_add
#scoreboard players set @a mark_add 0
#
execute as @a[scores={mark.recall=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Recall"]}}}] run function markrec:trigger_markrec
execute as @a[scores={mark.recall=1..},nbt={Inventory:[{Slot:-106b,id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Recall"]}}]}] run function markrec:trigger_markrec
#scoreboard players set @a recall 0
#
execute as @a[scores={mark.recall=1..},nbt={SelectedItem:{id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark"]}}}] run function markrec:trigger_setmarkrec
execute as @a[scores={mark.recall=1..},nbt={Inventory:[{Slot:-106b,id:"minecraft:carrot_on_a_stick",tag: {Tags: ["Mark"]}}]}] run function markrec:trigger_setmarkrec
execute as @a[scores={mark.recall=1..}] run function markrec:mark_recall
scoreboard players set @a mark.recall 0
scoreboard players set @a mark_crouch 0
#####################################################################################
Expand Down
File renamed without changes.
File renamed without changes

0 comments on commit 37ec988

Please sign in to comment.