Skip to content

Commit a102dc2

Browse files
release(0.2.0): Two new literal types, and cleanup of syntax.
1 parent 1287bb5 commit a102dc2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [0.2.0] - 2023-02-21
9+
Two new literal types, and cleanup of syntax.
910

1011
### Added
1112
- Object variant of literal
1213
- Alphanumeric pseudo-variant of literal
13-
- Only allows [A-Za-z0-9_-]
14+
- Only allows [A-Za-z0-9_]
1415
- First character must match [A-Za-z]
16+
- Regex variant of literal
17+
- String-regex matching using the `match` function
1518

1619
### Changed
1720
- Let now takes an alphanumeric literal in the name field, rather than a string.
21+
- Variables no longer need a "$" in front of the name
1822

1923
### Fixed
2024
- Fixed blocks not dropping while the golem was running the break command

data/bot/functions/version.mcfunction

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
data modify storage bot:version name set value "Code of Copper"
22

33
data modify storage bot:version major set value 0
4-
data modify storage bot:version minor set value 1
5-
data modify storage bot:version patch set value 4
4+
data modify storage bot:version minor set value 2
5+
data modify storage bot:version patch set value 0
66

77
tellraw @a {"nbt":"name","storage":"bot:version","extra":[{"text":" v","extra":[{"nbt":"major","storage":"bot:version","extra":[{"text":"."},{"nbt":"minor","storage":"bot:version"},{"text":".","extra":[{"nbt":"patch","storage":"bot:version"}]}]}]}]}

0 commit comments

Comments
 (0)