Commit Graph
1358 Commits
Author SHA1 Message Date
Crec0 aa57b586cb Multi noise support for scarpet (#1176)
* fix: infinite params bug in AnnotationParser
feat: scarpet function query_noise()

* refactor: remove Method reflection

* fix: use BiomeCoords

* update: game version to 1.18-pre5

* feat: biome lookup from multinoise
fix: noise lookup wrongly scaled

* fix: jagged noise. Thanks, @Starmute

* fix: cave cheese and layer. Thanks, @Starmute

* fix: revert formatting
fix: caveLayer and caveCheese
feat: add terrain support

* more formatting reverts

* fix mapping issue

* use BlockPos

* docs: add documentation for query_noise

* docs: add documentation for biome(noise_map)
2021-11-30 02:47:28 +01:00
gnembon 3312c00ee8 Merge branch 'master' into future 2021-11-27 22:22:38 +01:00
gnembon 339633f1f0 fixes #1103 game will close peacefully when running ticks from scarpet 2021-11-27 21:14:59 +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 9750dd9e78 Merge branch 'master' into future
# Conflicts:
#	src/main/java/carpet/fakes/ClientSettingsC2SPacketInterface.java
#	src/main/java/carpet/mixins/ClientSettingsC2SPacket_scarpetMixin.java
#	src/main/java/carpet/mixins/ServerPlayerEntity_scarpetEventMixin.java
2021-11-27 18:55:05 +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 ff44e847c0 Merge branch 'master' into future 2021-11-23 22:03:43 +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 90964e2e57 1.18-pre4 2021-11-17 20:45:25 +01:00
gnembon 59e0a9ebaf Merge branch 'master' into future 2021-11-17 20:17:04 +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 adaf19170d mappings 2021-11-16 21:08:26 +01:00
gnembon ab989155ad Merge branch 'master' into future 2021-11-16 20:11:49 +01:00
gnembon 5a6fc19bb0 1.18-pre1 2021-11-11 22:49:26 +01:00
Jacek Wolkowicz 40370aaa7d Merge branch 'master' into future 2021-11-11 19:38:50 +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 1642976d0d 21w44a 2021-11-04 00:34:40 +01:00
gnembon 679c20d78e 21w43a 2021-10-28 00:04:54 -03:00
gnembon 81f0b8a8da mappings 2021-10-27 23:28:44 -03:00
gnembon 074fd910cf 21w42a 2021-10-20 23:05:27 -03:00
gnembon 0f4c418a0e just mappings 2021-10-20 22:44:46 -03:00
gnembon 044d191409 Merge branch 'master' into future 2021-10-20 21:40:57 -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 543a4aa38f 21w41a 2021-10-13 19:36:28 -03:00
gnembon 5bf79cdf31 Merge branch 'master' into future 2021-10-13 00:15:14 -03:00
gnembon 7c31d51048 rotfl 2021-10-13 00:14:47 -03:00
gnembon 159e2d94a0 rotfl 2021-10-13 00:11:00 -03:00
gnembon cfaf596c29 update mappings and 21w40a, apparently. 2021-10-12 23:54:25 -03:00
gnembon 6a03675b4f Merge branch 'master' into future 2021-10-12 23:24:41 -03:00
altrisi 7486670918 Report stack traces through the logger (#1050) 2021-10-11 03:37:30 -03:00
gnembon 4a580a5a42 clarify number 2021-10-11 06:19:24 -03:00
Alexis Tio 85464d8b95 Fixed number function not returning list length (#1100)
* Fixed number function not returning list length

* Fixed whitespace
2021-10-11 02:34:46 -03:00
altrisi d034b8945a Move some functions into system_info (#1084)
* Move some functions into `system_info`

* Add docs for new `system_info()` properties
2021-10-05 21:21:29 -03:00
gnembon 7b9e5e6feb mappings 2021-09-22 21:12:11 -03:00
gnembon bc175509a2 21w37a 2021-09-18 08:46:27 -03:00
gnembon 9dad47d7a0 Merge branch 'master' into future 2021-09-08 16:22:44 -03:00
altrisi eafca1c5b3 Use player.interactionManager.tryBreakBlock instead of a copy to be more compatible (#1087) 2021-09-06 23:14:33 -03:00
gnembon 36df542072 lazy functions with set parameter sizes will report an error if no properly specced. Fixes #1064 2021-09-06 23:05:13 -03:00
gnembon 229d0b037b events handling is disabled now when potentially triggered from the scarpet script preventing from recursive callbacks. 2021-09-06 02:37:08 -03:00
gnembon 8325783bf4 Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-09-04 23:45:19 -03:00
gnembon 572fc8573e fixes to handling of NBT tags. Fixes #1080 2021-09-04 23:44:45 -03:00
altrisi 19c1924a26 Fix x motion being applied to y (#1089) 2021-09-03 22:48:28 -03:00
altrisi de28982646 Make ErrorSnooper report local's values 2021-08-31 14:12:05 +02:00
gnembon 7e67966fd2 Merge branch 'master' into future 2021-08-25 15:19:30 -03:00
gnembon 6f80c7959e node optimizations should optimize only one argument depending on associativity. Fixes #1046 2021-08-22 22:51:23 -03:00
gnembon 61052ea06d remove limits from fact in favour of estimation. Fixes #1065 2021-08-19 09:59:35 -03:00
gnembon 6222c97375 fixed unknown recipe types. Fixes #1068 2021-08-19 09:43:00 -03:00