Commit Graph
497 Commits
Author SHA1 Message Date
gnembon e063748e83 added create_explosion and more event handlers. 2021-04-09 01:38:00 -03:00
7b00952653 Added onExplosion Scarpet Event (#620)
* Added onExplosion Scarpet Event

* Reverted changes to Full.md

* Grammar corrections by James103

Co-authored-by: James103 <37945304+James103@users.noreply.github.com>

* Separated Explosion Mixins

Applied Ghoulboy78 suggestion.
WARNING: 'blocks' list is now empty if 'explosionNoBlockDamage' carpet rule is set to 'true'

* List Value from Triple

Suggested by Gnembon

* Explosion Mixin priority

Suggestion by Gnembon

* Added affectedEntities parameter

* Updated docs

* Optimizing calls

* Update src/main/java/carpet/helpers/OptimizedExplosion.java

* Update docs/scarpet/api/Events.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>

* Update docs/scarpet/api/Events.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>

* Update src/main/java/carpet/mixins/Explosion_scarpetEventMixin.java

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>

Co-authored-by: James103 <37945304+James103@users.noreply.github.com>
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-04-08 18:05:13 -03:00
gnembon 00f932bafc Can place skulls inside when creativeNoClip. Fixes #775 2021-04-04 18:28:25 -03:00
gnembon ff4b292871 Merge pull request #742 from Ghoulboy78/draw_beta-upgrade
Update draw_beta.sc
2021-03-23 08:36:42 -03:00
Ghoulboy 36f766ae75 Removing return statements to improve performance by a few microprocessor ticks to satisfy @altrisi 2021-03-12 22:36:25 +01:00
gnembon 38458a8e35 added create_datapack, check_hidden_dimensions and world_dimensions in system info. 2021-03-07 16:37:13 -04:00
Ghoulboy78 6d7f7a7bdc improving prims not to calculate blocks unnecessarily (thx @Firigion) 2021-03-05 22:24:42 +01:00
gnembon 8f592735ca fixes 2021-03-02 09:16:56 -04:00
Andrew S 69a0eeed7d Add pingPlayerListLimit setting (#704)
* Update CarpetSettings.java

* Add pingPlayerListLimit

* Fix formatting & fail softer
2021-03-01 22:48:31 -04:00
Ghoulboy78 facac439cf compacting hollow code 2021-02-24 12:11:51 +01:00
Ghoulboy78 467767a8e7 using bresenham algorithm for circles to make it more efficient 2021-02-24 12:06:17 +01:00
Ghoulboy78 fa75401278 minor editing tweaks 2021-02-24 10:17:06 +01:00
Ghoulboy78 eafc618792 oboi, remember that caching bs? I apparently forgot to remove this bit lol 2021-02-24 10:14:57 +01:00
Ghoulboy78 ac031090ef making the shapes in shapes.scl purely mathematical, no strings attached, only returning a set of the positions to iterate over. 2021-02-24 10:14:28 +01:00
Ghoulboy78 8eba0b9b8a removed debug and easter egg 2021-02-24 09:46:28 +01:00
Ghoulboy78 180b2285f9 moved drawing commands to separate library app
now gotta import, and fix issues
2021-02-24 09:44:43 +01:00
Ghoulboy78 96bce75db1 Update draw_beta.sc 2021-02-24 09:40:20 +01:00
Ghoulboy78 b649f5c830 Update camera.sc 2021-02-24 09:37:21 +01:00
gnembon 4c09d6b736 added __on_start and defined better meta-events 2021-02-08 18:08:38 -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
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
altrisi 96244dc4e2 Update Gradle and reintroduce automatic JSON version 2020-12-30 14:20:19 +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 f54ab746fe player swinging events. 2020-12-20 18:34:43 -04:00
gnembon c6529c3d3c 1.4.21 2020-12-16 18:03:04 -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
Kevin Delugan 2be4ac8ee0 Added onTrade Scarpet Event 2020-12-11 05:19:06 +01: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 28e84dd64e entity_area can accept entity as a starting bounding box. 2020-12-05 22:41:15 -04:00
gnembon 0c604593bb added ability to render shapes around any entity 2020-12-03 23:30:42 -04:00
gnembon 632d7c3268 1.4.20 2020-12-02 18:15:26 -04:00
gnembon d29f49967f rework of the event system, allowing apps to function more independently and allowing for player scoped apps to handle global events. fixes #596 2020-12-02 01:02:36 -04:00
gnembon 9bdc0c31e4 work on distance_beta 2020-11-30 01:27:08 -04:00
gnembon 4bf0a2a088 work on distance_beta 2020-11-29 23:57:02 -04:00
gnembon d980ab6d91 added blockpredicate argument support 2020-11-29 19:34:40 -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 dd9d6659fb 1.4.19 2020-11-25 19:08:33 -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
gnembon 53aec581bb simplify affected, not count set failures in draw 2020-11-25 01:50:32 -04:00
gnembon 2a403c36c8 added deprecation warnings, fixes #568 2020-11-25 01:49:56 -04:00
gnembon 4c6d449553 tweaks to distance beta app 2020-11-24 22:53:45 -04:00
gnembon 724b63df8a using beta as a indicator 2020-11-24 19:43:21 -04:00
Ghoulboyandaltrisi aeb3e382a6 Replacing draw and distance with apps (#553)
* added draw.sc app

Now working on distance app

* Adding apps as carpet rules

* adding distance app

Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2020-11-24 19:40:55 -04:00
gnembon 8e3c330e04 1.4.18 2020-11-21 06:46:20 -04:00
gnembon f40e797e3e customize jitter 2020-11-18 16:16:09 -04:00
gnembon 8c29db6c5d no need to add that for now 2020-11-18 08:37:54 -04:00