Commit Graph
544 Commits
Author SHA1 Message Date
altrisiandmanyrandomthings 5759e23794 Fix integers operation results being downcasted to floating point
Co-authored-by: manyrandomthings <42223559+manyrandomthings@users.noreply.github.com>
2023-05-05 00:14:28 +02:00
gnembon 07033af7dd 23w17a 2023-04-26 22:58:59 +02:00
gnembon f1586b3809 23w12a 2023-03-22 18:27:44 +01:00
gnembon 4c8e477f4b 1.19.4-pre1 2023-02-22 20:22:02 +01:00
gnembon 146573803c scarpet corountines idea 2023-02-22 02:33:03 +01:00
gnembon 2ff1f4fb71 refactored nonscarpet references yeet 2023-02-11 01:33:23 +01:00
gnembon 277872b33c warning cleanup 2023-02-08 21:13:15 +01:00
gnembon 75d94b0570 cleanup of scarpet dependencies 2023-02-08 21:13:14 +01:00
gnembon fd93785fec added nonnull assertions 2023-02-05 12:56:06 +01:00
gnembon 15f99b3389 fixing mahusive JVM crash 2023-02-04 23:48:55 +01:00
gnembon 8f61271606 semi-auto cleanup 2023-02-04 13:26:21 +01:00
altrisi 17249c3c77 Refactor code to use ListValue.wrap(Stream)
Simplifies code (improving readability) and unifies `Stream<Value>` to `ListValue` handling
2023-01-19 01:40:29 +01:00
gnembon c7d506675e 23w03a 2023-01-18 22:11:19 +01:00
gnembon bd5dfdbf9f refactor limit access to built-in registries 2023-01-18 04:07:55 +01:00
gnembon 8dd08d5cb1 refactor access to context data 2023-01-16 19:01:10 +01:00
gnembon 8c1c189caa 1.19.3-pre3 2022-11-29 21:31:07 +01:00
gnembon 1edd06605b 1.19.3-pre2 2022-11-24 06:10:18 +01:00
gnembon cda6994cae 45a great reg split 2022-11-10 20:51:10 +01:00
gnembon 4be362e58b 1.4.87 for 22w44a 2022-11-02 22:30:46 +01:00
altrisi 0c8e1d1653 Fix in (~) operator producing broken values 2022-10-10 20:36:44 +02:00
altrisi db031b175b Optimize ListValue::new(Collection) slightly for best-case scenarios (#1565) 2022-10-08 14:31:21 +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
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 f93bd36199 Update EntityValue.java 2022-08-28 18:59:11 +02:00
ch-yx 382a13728a remove some comments 2022-08-28 18:59:11 +02:00
ch-yx 4810d3b998 remove screen demo 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 8f7e45387e Resolve raw type warnings (#1516)
Also very small optimization to hopper counters and removal of redundant casts in `PerimeterDiagnostics`
2022-07-29 13:12:09 +02:00
Ghoulboy 14325d7e80 Set ambient properly in modify(entity, 'effect') (#1501) 2022-07-21 15:12:44 +02:00
Crec0 74f56c1c7c Fix query(e, 'brain', 'visible_mobs') returning null (#1481) 2022-07-07 11:59:28 +02:00
Ghoulboy 6019f812d3 Making portal_timer and portal_cooldown return portal timer and portal cooldown in that order (#1476)
* This error is so dumb I must have done it

* Update ai_tracker.sc
2022-06-27 20:37:44 +02:00
altrisi f18cfb09d2 Fix more warnings and do some small optimizations (#1356)
* Fix more warnings and do some small optimizations

* Fix more warnings in ValueConversions

* Clean up some decompiler names and fix an unnecessary transformation around commands

* Use (way) more compact data structure for slot map

* Minor tweaks
Such as map directly in the collector

* I hate vanilla javac
Revert map changes in latest commit
2022-05-27 19:43:45 +02:00
altrisi a60bc386cb Refactor Module into a single record type and fix system globals (#1383) 2022-05-17 20:11:49 +02:00
gnembon 1a6b1df534 22w19a 2022-05-13 11:26:47 +02:00
gnembon 746c8548e9 22w16b with massive Component changes 2022-04-21 00:26:39 +02:00