Commit Graph
2593 Commits
Author SHA1 Message Date
altrisi 0c8e1d1653 Fix in (~) operator producing broken values 2022-10-10 20:36:44 +02:00
gnembon 1121172292 Update src/main/java/carpet/mixins/ServerGamePacketListenerImplMixin.java 2022-10-10 20:30:25 +02:00
Sensei bb1a63ea0b Make server net handling run on main thread 2022-10-10 20:30:25 +02:00
Sensei 059fda49a4 Make client net handling run on main thread 2022-10-10 20:30:25 +02:00
altrisi a50a0d7328 Fix wrong line numbers by not trimming the start of expressions
We still trim the end because else `Tokenizer` crashes...
But trimming the end doesn't matter because there's it doesn't affect anything.
2022-10-09 13:13:37 +02:00
altrisi 3f5eac7472 Simplify ExpressionException.errorMaker
Why was this a lambda?
2022-10-08 14:57:32 +02:00
altrisi db031b175b Optimize ListValue::new(Collection) slightly for best-case scenarios (#1565) 2022-10-08 14:31:21 +02:00
altrisi 24385f28c2 Fix crash when scarpet rules are set permanently
Fixes #1562
2022-10-05 10:21:07 +02:00
altrisi 4f9bd3ab78 Simplify and standarize some conversions with ValueConversions 2022-10-02 18:49:49 +02:00
altrisi be1cb6888a Remove redundant null checks in string concat 2022-10-02 18:11:15 +02:00
altrisi 3247b83272 Simplify and slightly optimize EntityClassDescriptor
Could probably also be a record, though I'll look into that at another time
2022-10-02 15:29:34 +02:00
altrisi b1c29efa2b Expose origin-less constructors and methods (#1556) 2022-10-02 13:57:29 +02:00
altrisi f63c6acb05 Fully remove scarpet commands when apps are unloaded (#1452)
Using new Loader 0.14+ features
2022-10-02 13:32:27 +02:00
altrisi e9f1509a1d Fix log spam on outdated extension SettingsManager 2022-09-28 10:57:09 +02:00
altrisi ce69c7dfbe Fix rule printer but better 2022-09-17 13:39:50 +02:00
altrisi 9c73b64630 Revert "Fix language fallbacks for rules not being available early"
This reverts commit 5a4ceb68c6.
2022-09-17 13:39:24 +02:00
gnembon 36aff8f9d3 cleanup and tilt-lean fixes for new shapes 2022-09-12 02:08:43 +02:00
ch-yx 179f5a6006 adding a shape that can display a item or a block (#1365)
added 'polygon', 'item' and 'block' to scarpet rendered shapes
2022-09-12 00:38:52 +02:00
Space Walker c528695d1a Refactor Carpet's sticky blocks code (#1505)
refactor sticky blocks code
2022-09-03 22:49:01 +02:00
altrisi fce4918c87 Fix handling files with uppercase letters in case-sensitive systems 2022-08-28 21:01:48 +02:00
gnembon bb12e3ddd1 code cleanup for getItemsStackFromValue and npp keywords 2022-08-28 20:01:40 +02:00
ch-yx d418b7d090 move getItemStackFromValue to ValueConversions 2022-08-28 18:59:11 +02:00
ch-yx f9fc3bc763 Update EntityValue.java 2022-08-28 18:59:11 +02:00
ch-yx 3522f39f35 better name 2022-08-28 18:59:11 +02:00
ch-yxandaltrisi b3b65c426b Update src/main/java/carpet/script/value/EntityValue.java
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2022-08-28 18:59:11 +02:00
ch-yx ccb8ea9728 i read that part again. resolved. 2022-08-28 18:59:11 +02:00
ch-yx 3f91c3b5cd rename it to item_display_name 2022-08-28 18:59:11 +02:00
ch-yx 5e5ce6f7d3 is that ok now? 2022-08-28 18:59:11 +02:00
ch-yx f93bd36199 Update EntityValue.java 2022-08-28 18:59:11 +02:00
ch-yx 8be1cc2003 rename to effective_light 2022-08-28 18:59:11 +02:00
ch-yx 382a13728a remove some comments 2022-08-28 18:59:11 +02:00
ch-yx 46d8e8dd33 [] 2022-08-28 18:59:11 +02:00
ch-yx 4810d3b998 remove screen demo 2022-08-28 18:59:11 +02:00
ch-yx 8be36cb641 remove screen demo 2022-08-28 18:59:11 +02:00
ch-yx 0b49f54946 add item_display_name 2022-08-28 18:59:11 +02:00
ch-yx e2e5bb2242 light? 2022-08-28 18:59:11 +02:00
ch-yx 4a5fe26136 format 2022-08-28 18:59:11 +02:00
ch-yx a690e477ae draft 2022-08-28 18:59:11 +02:00
ch-yx aacc1dcb3e Update EntityValue.java 2022-08-28 18:59:11 +02:00
ch-yx f0d7a068f5 cannot feel safe without that. 2022-08-28 18:59:11 +02:00
ch-yx b19b2647b5 Update EntityValue.java 2022-08-28 18:59:11 +02:00
ch-yx a5f869d384 Update EntityValue.java 2022-08-28 18:59:11 +02:00
ch-yx ec9e952833 add some getter/setter as requests in discord. 2022-08-28 18:59:11 +02:00
ch-yx 853485f789 add a cross 2022-08-28 18:59:11 +02:00
altrisi d273d4ffb8 Fix some resource leaks 2022-08-28 18:34:39 +02:00
altrisi 2a4d678aa7 Remove the last few File usages
Barring one, given I've heard in hot code `Files.exists()` is slower than toFile().exists() if in the default `FileSystem`
2022-08-28 18:34:39 +02:00
altrisi df240159ff Merge a few put(get()+n) into fastutil's addTo to remove hash operations 2022-08-28 18:27:47 +02:00
altrisi c6941b840f Map from id in system_info('server_mods') 2022-08-19 07:32:46 +02:00
altrisi 4db1dd8f87 Implement a command line, configurable rule printer (#1357)
* Implement a command line, configurable rule printer

* Update publish action to rule printer

* Bump loom and lqf versions
2022-08-09 20:44:35 +02:00
altrisi 1734930f7e Remove some unused code (#1521) 2022-08-09 16:21:01 +02:00