Commit Graph
2843 Commits
Author SHA1 Message Date
altrisi 8a278e46de Fix deprecated last_tick_times (#1265) 2022-01-09 00:08:55 +01:00
50d9e51d3f Fake players can be spawned in survival mode while flying (#1264)
* Fixes #1263

* Update src/main/java/carpet/commands/PlayerCommand.java

Co-authored-by: James103 <37945304+James103@users.noreply.github.com>

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
Co-authored-by: James103 <37945304+James103@users.noreply.github.com>
2022-01-09 00:07:45 +01:00
altrisi 34e32973fa Use Fabric's newly exposed version APIs for app requirement parsing, expand it to allow wildcards and change load stopping to be a special exception (#1252) 2022-01-08 23:26:14 +01:00
CommandLeo 130c8a8322 Docs fix (#1250) 2022-01-08 23:21:02 +01:00
Ghoulboy ff5f62b0e1 Fixing #1146 (#1245) 2022-01-08 23:19:57 +01:00
altrisi 212b6a792e Remove a few no longer needed mixins (#1243) 2022-01-08 23:18:13 +01:00
altrisi 763abe68c9 Support more actions in Messenger (and therefore format()) (#1242)
* Support more actions in Messenger (and therefore `format()`)

* Add the new actions to docs

* New `format()` docs fixes
2022-01-08 23:16:06 +01:00
altrisi 8f265f4e52 Improve performance of player() related methods (#1240) 2022-01-08 23:11:10 +01:00
altrisi 9fb6ec91cb Minor improvements to scarpet annotation API (#1239) 2022-01-08 23:05:21 +01:00
altrisi 212eb07131 Give feedback when stepping ticks (#1234) 2022-01-08 21:12:23 +01:00
altrisi f2989d51fd Improve CarpetExpressionException error messages (#1230) 2022-01-08 21:09:15 +01:00
altrisi de305f4284 Allow apps to retrieve information about the source (#1229)
* Give information about the sources

* Document source related system_info properties
2022-01-08 21:08:26 +01:00
Ghoulboy a8f9b96e9e Fixes #1222 (#1224) 2022-01-08 20:58:43 +01:00
Crec0 eed64f224e Minor Docs update (#1214) 2022-01-08 20:41:54 +01:00
replaceitem caafaa2039 [Scarpet] Task value refactor for better extendability (#1202) 2022-01-08 20:40:20 +01:00
gnembon 5dca846363 fixes ranges of perimeterinfo. fixes #1207 2021-12-11 22:30:42 +01:00
gnembon 4a1a710eb0 why not, may affect #1195, but I doubt 2021-12-06 01:20:21 +01:00
gnembon fe6018a43b allowing event callbacks be added concurrently (e.g. registered event while handling some other events), with safe event pruning. fixes #1193 fixes #889 2021-12-06 01:02:37 +01:00
gnembon f5915fdfde Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-11-30 18:42:55 +01:00
gnembon d1bcb6c5dc 1.4.56 2021-11-30 18:42:05 +01:00
gnembon 3ff2b2efbc fix snafu 2021-11-30 18:41:17 +01:00
github-actions[bot] 05a307ef8b Merge docs for 'Carpet Mod 1.4.55 for Minecraft 1.18 and 1.17.1' 2021-11-30 17:27:31 +00:00
gnembon 197612ade7 1.4.55 2021-11-30 18:03:19 +01:00
gnembon 06eda1052f boi 2021-11-30 03:35:48 +01:00
gnembon 1cefef82f7 no-bs world height info 2021-11-30 03:28:44 +01:00
Ghoulboyandgnembon 6c776b6131 Adding min_y, max_y and world_border_info to system_info (#1168)
* Adding min_y and max_y

* Making it return all dimensions

* Adding world_border_info as well, cos y not

* Update docs/scarpet/api/Auxiliary.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-11-30 03:03:15 +01:00
gnembon 16e1b7952e sample_noise keywords and docs 2021-11-30 02:59:08 +01:00
gnembon 7a4c094607 fixes #1186 added carpetCommandPermissionLevel to allow admins to control who has access to /carpet command. 2021-11-29 23:27:54 +01:00
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