Commit Graph
614 Commits
Author SHA1 Message Date
gnembon 7029c6b9b9 Merge pull request #722 from fxmorin/master
Added Rule `lightningKillsDrops`
2021-02-18 22:17:37 -04:00
gnembon fd84a5a6d0 making sure custom structure limits are always working. 2021-02-18 22:14:50 -04:00
FX 680916880e Added Rule lightningKillsDrops
Which fixes [MC-206922](https://bugs.mojang.com/browse/MC-206922)
2021-02-18 21:12:06 -05:00
gnembon df7a4a6681 applying altrisi's observations. 2021-02-17 03:09:41 -04:00
gnembon 5b1ef77009 only when necessary really 2021-02-16 11:08:54 -04:00
gnembon 6a43ee25c7 fixes #712 2021-02-16 11:03:05 -04:00
gnembon 1d4f105174 shapes would render much better without shaders 2021-02-08 15:42:00 -04:00
gnembon 40b537501f reverting that merge of mixins since it will cause havoc on the future version branches 2021-01-26 05:32:59 -04:00
ramidzkh 566d2a7bca Use WorldRenderEvents if available (#680)
* Use WorldRenderEvents if available

Fixes an issue when Canvas is installed

* Improve code

* Depend only on fabric-rendering-v1

* Use fabricApi.module
2021-01-26 01:19:44 -04:00
e32b37dcf1 Add three Structure Block related settings (#664)
* Added structureBlockOutlineDistance

* Added structureBlockIgnored

* Added structureBlockLimit

* Made structureBlockLimit work on dedicated server

* Correct packet contents check and fix mixin list

* Add limits to structure block settings, slight optimisation to ignored block

* Fixed the `structureBlockLimit` limit

* Update src/main/java/carpet/CarpetSettings.java

Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>

* Fix missing imports and a typo

* Update src/main/java/carpet/CarpetSettings.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2021-01-22 23:38:10 -04:00
hqics eb334013ee make sure the index is within bounds 2021-01-21 17:30:44 +01:00
Andrew S df20f9e4e4 Add the lightEngineMaxBatchSize rule (#654)
* Apply light batch sizes after start region has been created

* Add light batch rules
2021-01-13 21:07:42 -04:00
Mitchell Skaggs 0f90328e53 Modify mixin signature to match 1.16 signature 2021-01-12 03:27:08 -06:00
gnembon eac4eb0537 Merge pull request #634 from altrisi/freeze-schedules
❄️ Freezing Scarpet ❄️
2021-01-07 00:00:48 -04:00
altrisi 706d632956 Also freeze shapes 2021-01-03 23:55:47 +01:00
altrisi 6d3ac93e4c Use setters and getters for frozen state, separate superHot and
don't tick regular tick events
2020-12-29 16:00:07 +01:00
gnembon a0507400ee Merge pull request #631 from replaceitem/scoreboard-criterion-mod
Added ability to change criterion with scoreboard_add Fixes #624
2020-12-29 00:01:58 -04:00
gnembon d6eb53b6ce player entity value may become invalid due to respawns. This not only fixes #633, but also other cases where player reference is used over time while player respawns and its instance is recycled. 2020-12-24 06:48:14 -04:00
altrisi 33347baaf7 Freezing Scarpet
And the client
2020-12-21 00:14:20 +01:00
gnembon f54ab746fe player swinging events. 2020-12-20 18:34:43 -04:00
replaceitem 6bb7eb2ae2 Merge branch 'master' into scoreboard-criterion-mod 2020-12-16 20:40:29 +01:00
replaceitem 055c26d44a added changing criterion to scoreboard_add #624 2020-12-16 20:35:28 +01:00
gnembon cd892f95bc cleaner 2020-12-14 02:36:53 -04:00
gnembon fe611145a9 Merge pull request #623 from BisUmTo/onTrade-Scarpet-Event
Added onTrade Scarpet Event
2020-12-12 00:43:14 -04:00
gnembon 5e98fbef66 Update src/main/java/carpet/mixins/TradeOutputSlot_scarpetEventMixin.java 2020-12-12 00:42:03 -04:00
Kevin Delugan 2be4ac8ee0 Added onTrade Scarpet Event 2020-12-11 05:19:06 +01:00
gnembon 97971322e5 better death messages for fake players and handling idling. Fixes #619 2020-12-11 00:14:11 -04:00
gnembon 56064a49cb fixes to xp stuff, saturation and weather 2020-12-06 19:55:01 -04:00
Ghoulboy 42e67f27b7 Adding absorption and xp API, and weather control (#540)
* fixes #537
* fixes  #547
2020-12-06 16:03:15 -04:00
gnembon 735925b48f we don't need these actually 2020-11-29 01:21:11 -04:00
gnembon e15afd9763 added support for block predicate argument support and tag_matches function. Fixes #563 2020-11-29 00:33:01 -04:00
gnembon a099ed79e1 added player_escapes_sleep event. Fixes #579 2020-11-27 00:34:24 -04:00
gnembon 201654ff44 adding support for equipment inventories as well as horse and pillager item inventories. 2020-11-25 17:52:17 -04:00
altrisiandgnembon ba1071a8d1 Javadocs, cleanup, extension's client rules, built-in BundledModules generators, etc (#544)
* Add javadocs to many methods

* Added built-in ways to generate BundledModules and documented them

* Add Eclipse launch files to .gitignore and fix 11 warnings

* Remove many unused imports

* Remove some dead and unused code around app loading

* Allow extensions to have client-side rules in their SettingsManager

Also change tabs to spaces when those changed

* Remove unnecessary classloader param in BundledModule

* Change max tickwarp duration to Integer.MAX_VALUE

* Move RulePrinter into the source so it can be managed by the IDE

* Properly reset hopperCounters when changing worlds

Also change tabs to spaces again and minor tweaks to javadocs

* Run mergedocs even if Full.md was modified

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

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2020-11-16 09:30:59 -04:00
gnembon ddba688f59 remove updates when removing blocks, fixes #533 2020-11-09 09:43:15 -04:00
gnembon c326785fb9 plop takes now correct number of arguments. 2020-11-06 21:55:00 -04:00
gnembon dcb048c986 that has been fixed already 2020-11-06 00:22:55 -04:00
gnembon 945578fd89 moar types, wip 2020-11-04 02:14:57 -04:00
altrisi b9eee6e58b Allow rules to manage Scarpet apps (Scarpet Rules) (#519)
by altrisi
2020-11-02 21:52:21 -04:00
gnembon 51f34643db Merge branch 'master' into entity_hooks 2020-10-29 20:42:43 -03:00
gnembon 9e4e276687 reduce profiler overhead in the old code as indicated by Fallen_Breath 2020-10-29 15:01:20 -03:00
gnembon 15ac7a4621 entity actions 2020-10-29 11:26:59 -03:00
gnembon 9633b402b4 improved handling of fake players in boats and when pushed by slimeblocks. Fixes #507 2020-10-25 01:19:03 -03:00
altrisi 020866c0e9 Change load method to Loader's entrypoints (#497)
* Start moving away from noop mixins

Remove the mixin from the json list

* Change startup method to Loader entrypoints
2020-10-15 22:15:20 -03:00
gnembon 01afdf650d chainstone can stick to all blocks 2020-10-15 20:26:19 -03:00
gnembon 70a59ccedd cleanup 2020-10-15 03:20:10 -03:00
gnembon e93c7d442c chainstone fixes 2020-10-15 02:58:51 -03:00
gnembon a51c8ca707 chainstone supports now properly end rods 2020-10-14 09:50:57 -03:00
gnembon fc3ceae767 added chainStone, fixes #495 2020-10-14 04:55:47 -03:00
gnembon f1b1538bcf added datapacks to the profiler 2020-10-09 22:57:27 -03:00