gnembon
10309ffcac
cleaned up result of parsing of nbt strings.
2020-09-28 23:40:01 -03:00
gnembon
d5ebe5361c
fixed incorrect recognition of some NULL objects
2020-09-28 22:17:29 -03:00
gnembon
9b35c19bea
pattern matching errors are reported as coding errors
2020-09-28 15:54:56 -03:00
gnembon
c4c268b079
increased utility of string matching using '~'
2020-09-26 12:28:46 -03:00
gnembon
e8b2060fb3
variable number of arguments for user defined functions.
2020-09-22 04:38:08 -03:00
gnembon
cbe91b4759
unhandled throw() now reports as error. Fixes #446
2020-09-10 00:32:36 -03:00
gnembon
33f400e904
refactor
2020-09-09 16:19:12 -03:00
gnembon
3105d5bb71
Events are defined statically in normal classes and added handler for extensions to add their built-ins
2020-09-08 23:47:31 -03:00
gnembon
a7fcaaddf1
code fixes
2020-09-07 15:37:22 -03:00
Ghoulboy
26169f042e
Updating logger to support different types ( #452 ) fixes #437
...
* Updating logger to support different types
* changing to ouptut info by default
* updating docs with air
* adding air modify definition
2020-09-07 15:19:28 -03:00
gnembon
1006e0ac40
commands return integer value if possible, fixes #408
...
handle infinite values as infinities.
2020-09-05 02:06:59 -03:00
gnembon
208d07bf47
added 'exact' to 'trace' in entity API
2020-09-03 05:04:17 -03:00
gnembon
e759a368b9
Can has json version of a scarpet value
2020-08-21 01:44:19 -03:00
gnembon
968ef0cd9f
numbers in scarpet better handle long type values.
...
If possible, numbers that can be represented as longs (seeds, etc) will be handled as longs but they will loose their longinness with a single arithmetic operation.
2020-08-21 00:47:19 -03:00
gnembon
c6973d35f6
better wording with expected numerical argument. Fixes #419
2020-08-20 23:22:08 -03:00
gnembon
e33b32c02e
Merge branch 'master' into 1.16
2020-07-27 03:13:59 -03:00
gnembon
df16a3561a
better error message
2020-07-27 03:13:31 -03:00
gnembon
4187f75de1
update
2020-07-27 02:22:17 -03:00
gnembon
ede70298c9
Merge branch 'master' into 1.16
2020-07-27 02:20:18 -03:00
gnembon
2c0ed7bf69
added 'on_ground' and clarifications around motion.
2020-07-27 02:11:05 -03:00
gnembon
4fe6a8d80f
20w30a
2020-07-22 17:15:26 -03:00
gnembon
394904a187
update
2020-07-21 23:42:44 -03:00
gnembon
224d30e951
Merge branch 'master' into 1.16
...
# Conflicts:
# src/main/java/carpet/script/value/EntityValue.java
2020-07-21 23:35:31 -03:00
gnembon
87b8892e42
new filters for entities
2020-07-21 23:31:44 -03:00
gnembon
359b89b46f
Merge branch 'master' into 1.16
2020-07-21 05:07:22 -03:00
gnembon
cfc97c5703
block breaking / active block entity API
2020-07-21 05:03:19 -03:00
gnembon
e67ec14285
mappings
2020-07-20 21:06:03 -03:00
gnembon
8833d33286
adjusting to 1.16
2020-07-19 02:57:14 -03:00
gnembon
c22c7b991a
adjusting to 1.16
2020-07-19 02:18:36 -03:00
gnembon
33651de9cd
Merge branch 'master' into 1.16
2020-07-19 01:37:30 -03:00
gnembon
606f768aed
added 'path' and 'brain' to entity query API
2020-07-19 01:37:19 -03:00
gnembon
eb79ea98e7
Merge branch 'master' into 1.16
...
# Conflicts:
# src/main/java/carpet/script/utils/ShapesRenderer.java
2020-07-18 13:21:33 -03:00
gnembon
57b5bace32
added label to displayed shapes
2020-07-18 13:20:49 -03:00
gnembon
803f99e8f0
task types are reported properly.
2020-07-16 01:13:24 -03:00
gnembon
b6543ff8dd
Merge branch 'master' into 1.16
2020-07-15 03:43:26 -03:00
gnembon
52e54c0a47
nbt values retain their string representation forever.
2020-07-15 03:43:06 -03:00
gnembon
a0e0dc0f88
20w28a. Rewritten scarpet structure and plop API. Removed portalSuffocationFix, as its fixed.
2020-07-12 02:38:12 -03:00
gnembon
bba9f4e88d
Merge branch 'master' into 1.16
2020-07-08 00:48:56 -03:00
gnembon
72ffc5b8b9
defined addition for maps prioritizing set operations.
2020-07-08 00:48:29 -03:00
gnembon
03061ba114
20w27a
2020-07-01 15:41:25 -03:00
gnembon
150c1d41a7
renewableBlackstone
2020-07-01 15:07:17 -03:00
gnembon
51313d496e
Merge branch 'master' into 1.16
2020-06-29 12:26:14 -03:00
gnembon
9b439270f1
added persistence to entity API (read and write)
2020-06-29 12:25:12 -03:00
gnembon
3700377686
Merge branch 'master' into 1.16
...
# Conflicts:
# src/main/java/carpet/script/utils/ShapesRenderer.java
# src/main/java/carpet/script/value/BlockValue.java
2020-06-20 09:03:20 -03:00
gnembon
ccd92c5957
added encode_nbt, added 'nbt' and 'nbt_merge' to modify entity API.
2020-06-20 02:19:20 -03:00
gnembon
98b95a74f4
Merge branch 'master' into 1.16
2020-06-18 20:11:50 -03:00
gnembon
4145280bcd
added parse_nbt and ability for set to submit params in list, and block data.
2020-06-18 17:15:07 -03:00
gnembon
56bd79aa69
nbt tags are mutable, assuming the wrapper owns them.
2020-06-18 16:57:16 -03:00
gnembon
2b6a8406c0
Merge branch 'master' into 1.16
2020-06-17 11:12:41 -03:00
gnembon and Ghoulboy78
29a81d53d6
unix_time and convert_date ( #332 )
...
* very simple stuff
* added unix_date and imporved unix_time
* Update docs/scarpet/api/Auxiliary.md
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com >
* Update Full.md
* Dont 100% work, but It'll do untl I fix tomorrow
* works, I think
* changeing weekdays
* removing weird stuff I didnt mean to do
* previous commits
* moving to expression.java
because prof.gnembon said
* moving away from LazyFUnctions
cos gnembon doesn't like evaluating somewhere
* updating docs
* tweaks to dates
Co-authored-by: Ghoulboy78 <ghoulboy27@gmail.com >
2020-06-17 11:10:59 -03:00