-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
209 changed files
with
13,884 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
datapacks/Bookshelf/data/bs.string/function/concat/combine/1.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
data modify storage bs:ctx _.s.2 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
function bs.string:concat/combine/1c with storage bs:ctx _.s |
38 changes: 38 additions & 0 deletions
38
datapacks/Bookshelf/data/bs.string/function/concat/combine/10.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
data modify storage bs:ctx _.s.2 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.3 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.4 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.5 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.6 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.7 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.8 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.9 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.10 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.11 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
function bs.string:concat/combine/10c with storage bs:ctx _.s |
218 changes: 218 additions & 0 deletions
218
datapacks/Bookshelf/data/bs.string/function/concat/combine/100.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,218 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
data modify storage bs:ctx _.s.2 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.3 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.4 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.5 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.6 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.7 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.8 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.9 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.10 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.11 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.12 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.13 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.14 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.15 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.16 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.17 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.18 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.19 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.20 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.21 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.22 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.23 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.24 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.25 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.26 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.27 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.28 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.29 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.30 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.31 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.32 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.33 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.34 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.35 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.36 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.37 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.38 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.39 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.40 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.41 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.42 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.43 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.44 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.45 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.46 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.47 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.48 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.49 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.50 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.51 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.52 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.53 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.54 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.55 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.56 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.57 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.58 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.59 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.60 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.61 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.62 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.63 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.64 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.65 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.66 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.67 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.68 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.69 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.70 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.71 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.72 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.73 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.74 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.75 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.76 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.77 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.78 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.79 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.80 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.81 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.82 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.83 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.84 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.85 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.86 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.87 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.88 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.89 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.90 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.91 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.92 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.93 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.94 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.95 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.96 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.97 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.98 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.99 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.100 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.101 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
function bs.string:concat/combine/100c with storage bs:ctx _.s |
18 changes: 18 additions & 0 deletions
18
datapacks/Bookshelf/data/bs.string/function/concat/combine/100c.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
$data modify storage bs:ctx _.s.1 set value "$(101)$(100)$(99)$(98)$(97)$(96)$(95)$(94)$(93)$(92)$(91)$(90)$(89)$(88)$(87)$(86)$(85)$(84)$(83)$(82)$(81)$(80)$(79)$(78)$(77)$(76)$(75)$(74)$(73)$(72)$(71)$(70)$(69)$(68)$(67)$(66)$(65)$(64)$(63)$(62)$(61)$(60)$(59)$(58)$(57)$(56)$(55)$(54)$(53)$(52)$(51)$(50)$(49)$(48)$(47)$(46)$(45)$(44)$(43)$(42)$(41)$(40)$(39)$(38)$(37)$(36)$(35)$(34)$(33)$(32)$(31)$(30)$(29)$(28)$(27)$(26)$(25)$(24)$(23)$(22)$(21)$(20)$(19)$(18)$(17)$(16)$(15)$(14)$(13)$(12)$(11)$(10)$(9)$(8)$(7)$(6)$(5)$(4)$(3)$(2)$(1)" |
18 changes: 18 additions & 0 deletions
18
datapacks/Bookshelf/data/bs.string/function/concat/combine/10c.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
$data modify storage bs:ctx _.s.1 set value "$(11)$(10)$(9)$(8)$(7)$(6)$(5)$(4)$(3)$(2)$(1)" |
40 changes: 40 additions & 0 deletions
40
datapacks/Bookshelf/data/bs.string/function/concat/combine/11.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
data modify storage bs:ctx _.s.2 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.3 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.4 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.5 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.6 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.7 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.8 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.9 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.10 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.11 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
data modify storage bs:ctx _.s.12 set from storage bs:ctx _.l[-1] | ||
data remove storage bs:ctx _.l[-1] | ||
function bs.string:concat/combine/11c with storage bs:ctx _.s |
18 changes: 18 additions & 0 deletions
18
datapacks/Bookshelf/data/bs.string/function/concat/combine/11c.mcfunction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# ------------------------------------------------------------------------------------------------------------ | ||
# Copyright (c) 2024 Gunivers | ||
# | ||
# This file is part of the Bookshelf project (https://github.com/Gunivers/Bookshelf). | ||
# | ||
# This source code is subject to the terms of the Mozilla Public License, v. 2.0. | ||
# If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
# | ||
# Conditions: | ||
# - You may use this file in compliance with the MPL v2.0 | ||
# - Any modifications must be documented and disclosed under the same license | ||
# | ||
# For more details, refer to the MPL v2.0. | ||
# | ||
# Documentation of the feature: https://bookshelf.docs.gunivers.net/en/latest/modules/string.html#concat | ||
# ------------------------------------------------------------------------------------------------------------ | ||
|
||
$data modify storage bs:ctx _.s.1 set value "$(12)$(11)$(10)$(9)$(8)$(7)$(6)$(5)$(4)$(3)$(2)$(1)" |
Oops, something went wrong.