Commit Graph
2815 Commits
Author SHA1 Message Date
gnembon f5900cffc6 more code, simpler mixin 2021-11-29 00:10:29 +01:00
Crec0 28a5e7acf1 XpNoCooldown and combineXpOrbs refactor (#1149)
* - Fix xpNoCooldown to work as it did in 1.17-
- Remove XPcombine
- Use vanilla merge methods

* Remove debug code

* fix: rollback sort carpet.mixins.json

* rework: nerf xp cooldown absorption a little

* remove: combineXpOrbs
fix: xpCooldown

* revert renames

* fix newlines

* fix: wrong implementation for absorption

* add missing `private` keyword

* fix: player xp cooldown set wrongly

* fix: injection point to be within condition
2021-11-28 23:39:13 +01:00
gnembon 4af1d66450 docs 2021-11-28 23:33:06 +01:00
gnembon 339633f1f0 fixes #1103 game will close peacefully when running ticks from scarpet 2021-11-27 21:14:59 +01:00
gnembon 0e1a8f20d4 fixes #1105 maxEntityCollisions will not affect maxEntityCramming setting 2021-11-27 20:58:23 +01:00
gnembon 7bd18a27e4 fixes #1113 boo 2021-11-27 20:29:16 +01:00
gnembon 18c728db2e fixes #1172 lol 2021-11-27 20:11:05 +01:00
gnembon 547ed9b6b9 fixes #1178 Yo 2021-11-27 19:36:44 +01:00
gnembon 0f57bf0bc6 fixes #1187 Ye 2021-11-27 19:09:35 +01:00
altrisi d8c10c6e4a Complete removal of /info entity, it's correspondent carpet and two small changes (#1047)
* Remove no longer needed language packet mixin

* Make StringArgument properly return a StringArgument supplier, so `string` isn't `term`

Fixes gnembon/fabric-carpet#1044

* Complete removal of `/info entity` and it's correspondent carpet

Resolves gnembon/fabric-carpet#1033

* Remove yet another no longer needed mixin
2021-11-27 17:43:39 +01:00
gnembon 4d9c5eb391 docs 2021-11-25 21:45:53 +01:00
Sean Ferney 6321e1e9b6 Outdated comment, unable to modify NBT (#1183)
You can now modify NBT data with `modify nbt_merge` and `modify nbt`
2021-11-25 21:44:32 +01:00
gnembon 2f7433ecb1 fixes #1181 Revert "Optimize explosion BlockState caching (#1156)"
This reverts commit 5005268df4.
2021-11-23 22:46:15 +01:00
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