Commit Graph
304 Commits
Author SHA1 Message Date
gnembon 091a4deadc Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/value/ValueConversions.java
2020-11-22 21:59:57 -04:00
gnembon b8ca302d33 added block_state, deprecated block_properties and property 2020-11-22 01:30:48 -04:00
gnembon 24e8c00998 Merge branch 'master' into 1.17 2020-11-16 09:43:22 -04:00
altrisiandgnembon ba1071a8d1 Javadocs, cleanup, extension's client rules, built-in BundledModules generators, etc (#544)
* Add javadocs to many methods

* Added built-in ways to generate BundledModules and documented them

* Add Eclipse launch files to .gitignore and fix 11 warnings

* Remove many unused imports

* Remove some dead and unused code around app loading

* Allow extensions to have client-side rules in their SettingsManager

Also change tabs to spaces when those changed

* Remove unnecessary classloader param in BundledModule

* Change max tickwarp duration to Integer.MAX_VALUE

* Move RulePrinter into the source so it can be managed by the IDE

* Properly reset hopperCounters when changing worlds

Also change tabs to spaces again and minor tweaks to javadocs

* Run mergedocs even if Full.md was modified

* Update src/main/java/carpet/commands/TickCommand.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2020-11-16 09:30:59 -04:00
gnembon 6c8defae91 fixes to entity selection in scripts and xp no cooldown 2020-11-15 01:55:40 -04:00
gnembon be3cb35f75 Merge branch 'master' into 1.17 2020-11-11 02:08:05 -04:00
gnembon 55643632ca custom events, and low level event API 2020-11-11 02:06:45 -04:00
gnembon b047575850 mapping fixes 2020-11-09 03:09:28 -04:00
gnembon ed30bcad7c Merge branch 'master' into 1.17 2020-11-09 03:05:02 -04:00
gnembon 9e8556f9d9 command arguments done 2020-11-09 03:04:26 -04:00
gnembon d48896ad8b mappings. More colors and materials 2020-11-06 23:10:43 -04:00
gnembon 2cdea92da7 20w45a 2020-11-06 00:06:53 -04:00
gnembon ce8529d084 added more types, entities 2020-11-04 13:48:36 -04:00
gnembon c827b04126 why not 2020-11-01 01:28:31 -04:00
gnembon b90db6954e fixes 2020-10-31 14:35:49 -03:00
gnembon e617008930 fix rounding and precision ugliness, fixes #516 2020-10-31 11:42:53 -03:00
gnembon 7ccd46433a entity load handler and rework of handling of events. 2020-10-30 22:59:27 -03:00
gnembon 15ac7a4621 entity actions 2020-10-29 11:26:59 -03:00
gnembon 41e745ca0c spawn point control to entity api 2020-10-28 04:09:12 -03:00
gnembon 3a26dae51d Moar control over angles, fixes #510 2020-10-26 01:53:48 -03:00
gnembon 1268af4131 Fixed threading and add shutdown control for threads via sleep 2020-10-24 22:18:02 -03:00
gnembon 6f0faf991a expanded long arithmetic 2020-10-12 11:56:52 -03:00
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