Commit Graph
2802 Commits
Author SHA1 Message Date
Ghoulboy 49dff77ebe Missing semicolon in draw_beta.sc (#1151) 2021-11-22 22:47:32 +01:00
Gnotteroandgnembon 775e923252 Added player abilities actions to the entity API (#1160)
* Added 'mayfly' and 'fly_speed' actions to the modify() function

* Added 'mayfly' and 'fly_speed' actions to the modify() function

* Added a query and a modify action for each of the abilities. Added the  modify action. Modified the docs to include all the new actions and queries

* Fixed an error with mod version

* Saving changes

* Modified the docs and fix an issue with float type variables

* Modified the docs and fixed an issue with float type variables

* Update src/main/java/carpet/script/value/EntityValue.java

* Update gradle.properties

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-11-22 22:46:02 +01:00
gnembon e8f1d85824 16 2021-11-18 18:47:06 +01:00
github-actions[bot] 1cc48b95f1 Merge docs for 'Carpet Mod 1.4.54 for Minecraft 1.18-pre4 and 1.17.1' 2021-11-17 20:05:32 +00:00
gnembon c5594812d4 1.4.54 2021-11-17 20:48:30 +01:00
gnembon dc9ba2f83c Merge pull request #1083 from altrisi/more-debugging
Make ErrorSnooper report values for locals in the stacktrace
2021-11-17 20:12:23 +01:00
gnembon f95c4d4688 Merge pull request #1169 from Crec0/patch-1
Fix typo
2021-11-16 21:28:26 +01:00
gnembon ba4edb37b6 Merge pull request #1171 from Fallen-Breath/smart-rule-completion
Smart rule name auto-completion
2021-11-16 21:28:00 +01:00
gnembon 63aa9ab902 one more java again 2021-11-16 20:41:20 +01:00
gnembon d09ecf17fb one less java 2021-11-16 20:27:38 +01:00
gnembon 61af94f0bf Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-11-16 20:13:40 +01:00
gnembon 3eae059ee0 one more java 2021-11-16 20:13:08 +01:00
gnembon 03d5aa5904 one more java 2021-11-16 20:11:19 +01:00
Fallen_Breath 31da11dce6 Smart rule name auto-completion
Search in substrings only if no rule name starts with the query string
2021-11-17 00:38:09 +08:00
Crec0 0f7eb6acae Fix typo
`modify(e, 'motion_z', x)` -> `modify(e, 'motion_x', x)`
2021-11-15 00:01:47 -08:00
gnembon 205a8d9271 Merge pull request #1139 from YMC-Minecraft/tickfreeze
support '/tick freeze on', '/tick freeze off' and '/tick freeze status'
2021-11-13 22:30:05 +01:00
intricate 5005268df4 Optimize explosion BlockState caching (#1156)
optimize caching for explosions
2021-11-13 22:08:03 +01:00
gnembon 121c77625e Merge pull request #1162 from James103/patch-1
Fix #1161: Typo in extreme velocity log message
2021-11-13 21:34:29 +01:00
gnembon 0998a78cae well 2021-11-13 21:32:09 +01:00
github-actions[bot] a9183d9fe3 Merge docs for 'Carpet Mod 1.4.53 for Minecraft 1.18-pre1 and 1.17.1' 2021-11-11 22:30:47 +00:00
gnembon 639ef06e50 1.4.53 2021-11-11 23:22:03 +01:00
James103 af2ba900b2 Fix gnembon/fabric-carpet#1161: Typo in extreme velocity log message 2021-11-10 15:00:04 -06:00
Ghoulboy b935fadadf Add bitwise operations to scarpet (#1094) 2021-11-09 23:55:54 +01:00
altrisi 047fdc6ada Wrap value stringifying into a try-catch block 2021-11-06 20:34:18 +01:00
gnembon b93e3238b7 1.4.52 2021-11-04 00:46:27 +01:00
gnembon 1cc690fb79 1.4.51 2021-10-28 01:47:08 -03:00
Trumeet 6be2e51e0c support '/tick freeze on', '/tick freeze off' and '/tick freeze status'
The current implementation only allows toggling tick freeze, so scripting is hard. This patch enables users to specifically freeze or unfreeze other than just toggling. It also provides '/tick freeze status' command to dynamically check whether the game is frozen or not.

This patch preserves compatibility to the existing '/tick freeze' toggle command.
2021-10-21 19:38:07 -07:00
gnembon 9ac3654a2c 1.4.50 2021-10-21 08:43:52 -03:00
Fallen_Breath 8fa10a1c67 Fixed player ticking issue caused by rule updateSuppressionCrashFix (#1137)
* Fixed player ticking issue caused by #1133

* use abstract class for ServerPlayerEntity_updateSuppressionCrashFixMixin
2021-10-21 08:40:27 -03:00
gnembon f413a3d93f 1.4.49 2021-10-21 01:00:25 -03:00
Jake Kandgnembon 50b3aa8832 fixed logger option bug (#1124)
* fixed logger option bug

* implemented strict option for logger args

* added back deprecated logger constructor

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-10-20 23:16:05 -03:00
intricate f17b63a8f7 Fix #1126 (#1132) 2021-10-20 23:12:23 -03:00
Fx Morin 0714098347 Ported rule updateSuppressionCrashFix from Carpet-Extra + More (#1133)
* Posted rule `updateSuppressionCrashFix` from Carpet-Extra
Also added catch for update suppression in neighbour update during ServerPlayerEntity tick.
Added Logger `updateSuppressedCrashes` so not everyone sees the crash messages
Added Coords to crash message so we now know where it originates from

* Make it easier to read

* that `s` has been there for a long time

* Made `updateSuppressionCrashFix` compatible with carpet-extra
2021-10-20 23:08:23 -03:00
altrisi 506457d878 Fix Stack Overflow in dev environment with mojmap (#1134) 2021-10-20 23:06:19 -03:00
gnembon fa36c52ba8 Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-10-17 00:28:14 -03:00
gnembon db5d4532b8 encode_nbt is incosistent with documentation, #fixes https://discord.com/channels/882822986795716608/882826588348092457/899049240771309638 2021-10-17 00:25:03 -03:00
gnembon 9e9a80373d 1.4.48 2021-10-13 19:38:02 -03:00
github-actions[bot] 70d4ab428a Merge docs for 'Carpet Mod 1.4.48 for Minecraft 21w41a and 1.17.1' 2021-10-13 19:49:39 +00:00
Fallen_Breath aa32411484 Added missing @Mutable @Final annotations (#1129)
Fixed #1101
2021-10-13 16:09:12 -03:00
gnembon 7c31d51048 rotfl 2021-10-13 00:14:47 -03:00
gnembon 159e2d94a0 rotfl 2021-10-13 00:11:00 -03:00
altrisi 0910bc8779 Add badges and icons to readme (#1128) 2021-10-12 23:01:16 -03:00
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