Commit Graph
526 Commits
Author SHA1 Message Date
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
altrisi f590e9d109 Fix latest commit 2022-04-11 12:59:51 +02:00
altrisi 96bb1072c4 Remove chest boat from living entities
Fixes #1405.
2022-04-11 12:51:55 +02:00
BisUmTo fca98c7b37 Fixed execution offset in screens callback context (#1353)
Wrong origin in screen callbacks
2022-04-04 12:34:48 +02:00
gnembon ab07a6807a 22w12a 2022-03-24 21:48:29 +01:00
gnembon 302a7b4817 fixes for 22w11a 2022-03-17 20:21:55 +01:00
gnembon 43f5da90a8 fixes #1328 2022-02-23 22:55:44 +01:00
altrisi 1f0c609dc0 Remove log4j as much as possible (#1334) 2022-02-22 01:35:56 +01:00
altrisi b1c934da28 Fix a few IDE warnings (#1345) 2022-02-20 19:16:12 +01:00
gnembon c01ad9ce9d 1.18.2-pre 2022-02-20 01:50:46 +01:00
altrisi 53f456320c Implement missing method in BlockValue.PlacementContext to fix exceptions in place_item (#1329) 2022-02-16 00:03:44 +01:00
gnembon 212814f46d 22w06a 2022-02-10 03:15:53 +01:00
gnembon 695b569977 remove instanceof NullValues fixes #1313 2022-02-06 00:18:42 +01:00
gnembon 0f9d2f6d5b added undef value 2022-02-01 01:23:45 +01:00
replaceitem 77092924bc Allow serializing FormattedText values to json (#1291) 2022-01-30 19:01:59 +01:00
gnembon 39ec78ea40 fixed not resetting of iterators after ... 2022-01-29 22:54:36 +01:00
altrisi 06af9ce8b1 Migrate the Carpet codebase to Mojang Mappings 2022-01-24 20:33:16 +01:00
gnembon ec1993efb1 mappings 2022-01-19 20:31:30 +01:00
gnembon 5abbae5b62 Merge branch 'master' into future 2022-01-19 20:03:57 +01:00