Commit Graph
2260 Commits
Author SHA1 Message Date
gnembon f9207a1b4b Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-10-12 22:57:55 -03:00
gnembon 5b80c845c6 added liquidDamageDisabled inspired by TIS additions and ported by permission by Fallen Breath 2021-10-12 22:57:47 -03:00
gnembon 4a580a5a42 clarify number 2021-10-11 06:19:24 -03:00
altrisi 7486670918 Report stack traces through the logger (#1050) 2021-10-11 03:37:30 -03:00
Alexis Tio 85464d8b95 Fixed number function not returning list length (#1100)
* Fixed number function not returning list length

* Fixed whitespace
2021-10-11 02:34:46 -03:00
gnembon 736c10abe6 fixed completion 2021-10-11 05:30:39 -03:00
Fx Morin 7e04c9dc1d Better search through rules (#1119)
* Better search through rules

Changed carpets search from startsWith to Contains.
It's been annoying me for a long time now, the fact that you never remember the command name, but you remember something that was in it.

* Checking camelCase for contains
2021-10-11 01:58:45 -03:00
altrisi d034b8945a Move some functions into system_info (#1084)
* Move some functions into `system_info`

* Add docs for new `system_info()` properties
2021-10-05 21:21:29 -03:00
Yuuta Liang 14be166935 allow specifying game modes when spawning fake players (#1117)
This enables administrators to flexibly spawn players in game modes other than their current modes, and also allows administrators to spawn non-creative players from the console or rcon.

Usage: /player spawn bot in <gamemode>

Usage: /player spawn bot at ~ ~ ~ face 0 0 in minecraft:overworld in <gamemode>

Permissions required: OP Level 2 and above.

Note on flying: For spectator players, flying is always enabled. For other game modes, whether they are flying depends on the command caller. Therefore, it is possible to spawn a flying survival player when you are currently flying.
2021-09-30 00:01:56 -03:00
gnembon 9b8572041c 1.4.47 2021-09-24 09:32:13 -03:00
gnembon 50f8a025a9 1.4.46 2021-09-18 12:39:17 -03:00
gnembon 18c3dc13fe fixed plop not plopping unconfigured features. 2021-09-18 09:36:06 -03:00
gnembon 9652573c10 removed time restrictions from /spawn test 2021-09-11 00:37:54 -03:00
gnembon 86d89aab20 added death messages control to cleanLogs (require showDeathMessages to be false as well). Fixes #1095 2021-09-08 21:13:17 -03:00
altrisi eafca1c5b3 Use player.interactionManager.tryBreakBlock instead of a copy to be more compatible (#1087) 2021-09-06 23:14:33 -03:00
gnembon 36df542072 lazy functions with set parameter sizes will report an error if no properly specced. Fixes #1064 2021-09-06 23:05:13 -03:00
gnembon 229d0b037b events handling is disabled now when potentially triggered from the scarpet script preventing from recursive callbacks. 2021-09-06 02:37:08 -03:00
gnembon 8325783bf4 Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-09-04 23:45:19 -03:00
gnembon 572fc8573e fixes to handling of NBT tags. Fixes #1080 2021-09-04 23:44:45 -03:00
altrisi 19c1924a26 Fix x motion being applied to y (#1089) 2021-09-03 22:48:28 -03:00
altrisi de28982646 Make ErrorSnooper report local's values 2021-08-31 14:12:05 +02:00
gnembon a9db4099d0 Compatibility with paper cardboard. Fixes #1078 2021-08-25 00:19:31 -03:00
gnembon 35508c3635 Compatibility with paper cardboard. Fixes #1078 2021-08-25 00:17:31 -03:00
gnembon 3f9a73ac32 rename test to testcarpet. Fixes #1079 2021-08-25 03:00:26 -03:00
gnembon 49e4c41d2b fixed spawn command for some non-standard languages. Fixes #1073 2021-08-22 23:11:59 -03:00
gnembon 6f80c7959e node optimizations should optimize only one argument depending on associativity. Fixes #1046 2021-08-22 22:51:23 -03:00
gnembon 61052ea06d remove limits from fact in favour of estimation. Fixes #1065 2021-08-19 09:59:35 -03:00
gnembon 6222c97375 fixed unknown recipe types. Fixes #1068 2021-08-19 09:43:00 -03:00
gnembon e38490b880 1.4.45 2021-08-11 17:09:21 -03:00
gnembon 92063fa891 Handles rogue spawn reports with an error message. Fixes #1052 2021-08-09 00:36:09 -03:00
gnembon 16f3832d16 Fixes inventory behaviour with stackable empty shulker boxes. fixes #1048 2021-08-08 23:08:14 -03:00
altrisi 7fb5e47da5 Use newer Java features in places where it makes sense and more (#1009) 2021-08-03 07:32:40 -03:00
Mitchell Skaggs 28cb136c6b Max collisions optimization (#1038)
* Lift entity limit up to the `getOtherEntities` method so it bails early

This has the potential to prevent a lot of bounding box computation

* Clean up decompiled code

* Fix raw generic types

This doesn't alter the signature, but it helps the compiler warn about misuse of the type later on

* Actually abort forEach when `limit` entities have been checked

`throw`ing a known exception is the easiest way to `break` out of a forEach call
2021-08-03 07:20:09 -03:00
HED-GITandgnembon 56a15fb384 added more customizability to renewableCoral (#1022)
* added more customizability to renewableCoral

* changed renewableCoral to use enums instead of strings

* added suggested changes to renewablecoralmode

* Update src/main/java/carpet/CarpetSettings.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-07-29 23:48:04 -03:00
altrisi 2a391962ff Remove no longer needed Mixins (#1030) 2021-07-26 09:20:01 -03:00
gnembon 19ad8cfbf3 Mixin mixup, borken profiler sections. Fixes #1027 2021-07-24 22:40:33 -03:00
gnembon 0e9df3701f rework for events and other stored functions. Fixes #984 2021-07-22 22:22:38 -03:00
altrisi 7ebc990ef6 Use pattern matching for instanceof (#1019) 2021-07-21 22:24:24 -03:00
gnembon 97e7d660e4 fix inventories for armorstands, fixes #1017 2021-07-21 09:09:50 -03:00
Charlie 38e5da05dd Remove Space (#1005) 2021-07-16 11:21:12 -03:00
gnembon 4dd3cc7fd6 mappings 2021-07-14 00:57:37 -03:00
gnembon af368a159d Merge branch '1.17' 2021-07-14 00:26:22 -03:00
gnembon eaad77fcef 1.4.44 last 1.16.5 version 2021-07-14 00:23:40 -03:00
gnembon 834da208b6 added ability to offset by axis. Fixes #987 2021-07-11 08:01:51 -03:00
altrisi cca9d2ec7e Provide script download suggestions async (#986) 2021-07-11 07:43:11 -03:00
gnembon 41a34b52a3 Merge branch 'master' into 1.17 2021-07-10 23:26:38 -03:00
gnembon 7d4eeb464b short circuit rules condition checking 2021-07-10 21:49:50 -03:00
RubixDev 9e86407323 Add condition argument to Rule annotation (#998) 2021-07-10 21:40:21 -03:00
gnembon 7421e56670 customized failed rules behaviour 2021-07-10 18:03:40 -03:00
gnembon 0c5f828b3b unused 2021-07-10 02:18:55 -03:00