Commit Graph
325 Commits
Author SHA1 Message Date
gnembon 9d08c54324 Merge branch 'master' into 1.17 2020-12-03 22:25:51 -04:00
gnembon 259bdc2c94 ability to query client brand and server scarpet version. 2020-12-02 22:36:20 -04:00
gnembon 5422493c33 20w49a 2020-12-02 19:22:56 -04:00
gnembon 0bacbcc2f5 Merge branch 'master' into 1.17 2020-12-02 13:23:32 -04:00
gnembon d29f49967f rework of the event system, allowing apps to function more independently and allowing for player scoped apps to handle global events. fixes #596 2020-12-02 01:02:36 -04:00
gnembon 973dd29739 Merge branch 'master' into 1.17
# Conflicts:
#	gradle.properties
#	src/main/java/carpet/script/value/ValueConversions.java
2020-11-29 01:23:22 -04:00
gnembon e15afd9763 added support for block predicate argument support and tag_matches function. Fixes #563 2020-11-29 00:33:01 -04:00
KingOfTheClouds 1abe93f0dc Fix scarpet modify(e, 'effect', ...) (#587) 2020-11-28 21:21:21 -04:00
gnembon 2552887340 Merge branch 'master' into 1.17 2020-11-28 19:03:39 -04:00
gnembon 5a8ce26c44 'biome' query api 2020-11-28 19:02:58 -04:00
gnembon 4f7ebdd9ff Merge branch 'master' into 1.17 2020-11-28 12:13:07 -04:00
gnembon 54d306d9bc added biome query to biome 2020-11-28 12:11:31 -04:00
gnembon 45e3abf19c fix to handle invalid structures with invalid boxes. 2020-11-28 01:24:49 -04:00
gnembon 07dce7bc2e risky optimizations. 2020-11-27 02:30:10 -04:00
gnembon 42b7af97f5 udpate 2020-11-26 03:06:03 -04:00
gnembon f4f289b0ec Merge branch 'master' into 1.17
# Conflicts:
#	src/main/java/carpet/script/value/NBTSerializableValue.java
2020-11-26 03:03:03 -04:00
replaceitemandgnembon 210b0fc8ea Added scarpet team functions (#569)
* Added team functions

* Docs for team functions

* Added team functions to editor keywords

* Added static method getPlayerNameByValue to EntityValue (also works with non existing players

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2020-11-26 02:59:23 -04:00
gnembon cd3880ea07 added slot argument type, fixes #564 2020-11-26 02:52:41 -04:00
gnembon 79cb4a20d8 refactor for inventories, allowing for null types. 2020-11-26 00:33:09 -04:00
gnembon ba58a99c21 Merge branch 'master' into 1.17 2020-11-25 17:53:00 -04:00
gnembon 201654ff44 adding support for equipment inventories as well as horse and pillager item inventories. 2020-11-25 17:52:17 -04:00
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