Commit Graph
1656 Commits
Author SHA1 Message Date
gnembon c19bed79de Merge pull request #565 from altrisi/extension-sync
Sync extension's custom SettingsManager's rules
2020-11-29 14:57:16 -04:00
altrisi a0528ca7ed Add a way to load global configs 2020-11-29 17:34:31 +01:00
gnembon 735925b48f we don't need these actually 2020-11-29 01:21:11 -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
altrisi 29dfae0e57 Fix being unable to identify own manager 2020-11-29 03:45:03 +01:00
gnembon 076ad62fad potential NPE issue 2020-11-28 22:23:57 -04:00
gnembon bab7037b80 cleanup 2020-11-28 22:21:38 -04:00
altrisi b4ac2c85e4 Reimplement extension sync according to suggestions 2020-11-29 02:51:01 +01:00
altrisi ce0cca4005 [Scarpet] Add display_title function (#555) 2020-11-28 21:40:16 -04:00
KingOfTheClouds 1abe93f0dc Fix scarpet modify(e, 'effect', ...) (#587) 2020-11-28 21:21:21 -04:00
gnembon 5a8ce26c44 'biome' query api 2020-11-28 19:02:58 -04:00
gnembon 54d306d9bc added biome query to biome 2020-11-28 12:11:31 -04:00
gnembon b13c59eedf added block_list and block_tags to handle block tags. 2020-11-28 02:29:26 -04:00
gnembon 083d2a7f2e plop with no args returns all available structures and features. 2020-11-28 01:44:16 -04:00
gnembon 45e3abf19c fix to handle invalid structures with invalid boxes. 2020-11-28 01:24:49 -04:00
gnembon 6206753198 block_state can accept string block name as well. 2020-11-27 15:50:57 -04:00
gnembon 07dce7bc2e risky optimizations. 2020-11-27 02:30:10 -04:00
gnembon 8d930ac72e Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2020-11-27 00:34:41 -04:00
gnembon a099ed79e1 added player_escapes_sleep event. Fixes #579 2020-11-27 00:34:24 -04:00
replaceitem 92dcf6648e Fixed small mistakes in team functions (#580) 2020-11-26 23:54:09 -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 2d92a82ed0 simpler 2020-11-25 22:31:47 -04:00
gnembon dd9d6659fb 1.4.19 2020-11-25 19:08:33 -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 1e7457c27f wording fixes #558 2020-11-25 02:07:46 -04:00
gnembon 53aec581bb simplify affected, not count set failures in draw 2020-11-25 01:50:32 -04:00
gnembon 2a403c36c8 added deprecation warnings, fixes #568 2020-11-25 01:49:56 -04:00
gnembon 5615bddf9b returns false on 'set' when setblock fails. 2020-11-25 00:14:46 -04:00
gnembon 4c6d449553 tweaks to distance beta app 2020-11-24 22:53:45 -04:00
gnembon 209c3b9262 fixed issues with reload and missing command handler 2020-11-24 22:52:05 -04:00
gnembon 724b63df8a using beta as a indicator 2020-11-24 19:43:21 -04:00
Ghoulboyandaltrisi aeb3e382a6 Replacing draw and distance with apps (#553)
* added draw.sc app

Now working on distance app

* Adding apps as carpet rules

* adding distance app

Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2020-11-24 19:40:55 -04:00
gnembon fee127a942 hide beta builtin apps 2020-11-24 19:38:38 -04:00
gnembon 550e53aec7 Scoreboard for invalid objective shouldn't fail since objective names are not fixed and provided by players. 2020-11-23 22:08:06 -04:00
gnembon a297fd1441 Scarpet rules can provide multinary boolean permission level, fixes #572 2020-11-23 02:35:01 -04:00
gnembon 3aa646f563 Specify logger when server is not setup. Fixes #567 2020-11-22 23:35:28 -04:00
gnembon 190d17d1fe fixes NPE when summoning a player with a banned account. 2020-11-22 21:47:32 -04:00
altrisi 39bfb51992 The tabs to spaces... yet again 2020-11-22 12:22:56 +01:00
altrisi 5bb6862a53 Make extension's rules get properly synced with clients 2020-11-22 12:07:07 +01:00
gnembon b8ca302d33 added block_state, deprecated block_properties and property 2020-11-22 01:30:48 -04:00
gnembon b997fa0f9f using ... todo, or ... wip and not implemented errors. 2020-11-21 21:36:47 -04:00
gnembon 8e3c330e04 1.4.18 2020-11-21 06:46:20 -04:00
gnembon f40e797e3e customize jitter 2020-11-18 16:16:09 -04:00
gnembon 8c29db6c5d no need to add that for now 2020-11-18 08:37:54 -04:00
gnembon b00b5772c9 player doesn't attack in continuous and fixed event suggestions fixes #552. 2020-11-16 20:02:47 -04:00
gnembon 3875a1708a Je ne mangerai pas 2020-11-16 09:47:01 -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 7046166561 moved overlay to the new command system, added spheres and boxes 2020-11-16 01:56:32 -04:00