Commit Graph
1777 Commits
Author SHA1 Message Date
Ghoulboy78 ae63c7be1d registering as built-in library (thx @altrisi) 2021-02-25 09:32:00 +01: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
gnembon 14018c8e1b Merge pull request #732 from altrisi/fix-fire
Implement query(e,'fire')
2021-02-21 21:17:38 -04:00
DragonEggBedrockBreakingandaltrisi eeddf96abc Update CarpetSettings.java
Co-authored-by: altrisi <altrisi.trillosierra@gmail.com>
2021-02-21 17:34:50 +00:00
DragonEggBedrockBreaking f7aa874ae8 Update CarpetSettings.java 2021-02-21 12:44:02 +00:00
altrisi eb7bb70586 Implement query(e,'fire') 2021-02-21 12:38:25 +01:00
gnembon 7029c6b9b9 Merge pull request #722 from fxmorin/master
Added Rule `lightningKillsDrops`
2021-02-18 22:17:37 -04:00
gnembon b61d69c904 Update src/main/java/carpet/CarpetSettings.java 2021-02-18 22:15:59 -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 edd203a1f8 1.4.27 2021-02-17 19:52:58 -04: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 23a7852141 1.4.26 2021-02-10 23:36:45 -04:00
gnembon 9ebae27807 workaround for hanging events after shutdown. 2021-02-10 23:35:59 -04:00
altrisi 4807e4d518 Fix rules-to-wiki and generalize some code for extension's equivalents (#696)
* Fix rules-to-wiki output

* Publicize OLD_OUT in RulePrinter to simplify extension's equivalents

And rename to CarpetRulePrinter because of the same reason
2021-02-08 23:52:49 -04:00
gnembon 4c09d6b736 added __on_start and defined better meta-events 2021-02-08 18:08:38 -04:00
gnembon 0a45778e4a scarpet and carpet close handler now triggers with players still online in SP 2021-02-08 18:06:49 -04:00
gnembon 1d4f105174 shapes would render much better without shaders 2021-02-08 15:42:00 -04:00
gnembon f68aa410c7 fix for operators not to use contexts that don't apply 2021-02-08 15:40:21 -04:00
gnembon 35c288b03f looping on nulls behaves like on empty lists. 2021-02-08 15:39:41 -04:00
gnembon 291393bb62 1.4.25 2021-02-03 20:18:05 -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
altrisi a83548876a Extra handling of null values (part 1) (#684) 2021-01-26 01:16:48 -04:00
gnembon 2fb0c2c2ff Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-01-26 04:26:38 -04:00
gnembon 58b6974369 fixing so that the player option in /log is accessible. 2021-01-26 04:25:57 -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
gnembon 42ea68e740 1.4.24 2021-01-20 22:54:11 -04:00
gnembon 569f4d502d Merge branch 'master' of https://github.com/gnembon/fabric-carpet 2021-01-15 11:38:13 -04:00
gnembon 7a141affaf 1.16.5 at 1.4.23 2021-01-15 11:37:17 -04:00
gnembon 4694e40bdd Merge pull request #673 from altrisi/fix-split
Fix split
2021-01-14 23:57:28 -04:00
altrisi ecbd7f1dd7 Fix NbtIo crash when loading appdata 2021-01-14 20:40:31 +01:00
altrisi 9eea3b47a6 Actually return those lists 2021-01-14 03:08:33 +01:00
altrisi 852139d936 Make split split lists in list of single elements list without delimiter 2021-01-14 02:58:05 +01:00
gnembon d563e65c77 Merge pull request #666 from altrisi/extra-splitting
[Suggestion] Allow splitting lists by element value
2021-01-13 21:23:49 -04:00
replaceitem c0e2d17377 Fixed null acting as a string with matching operator (~) and split() (#662)
* Fixed null acting as a string with matching operator (~)
2021-01-13 21:17:39 -04:00
BisUmToandgnembon 2121a91a55 Added nbt_storage() scapet function (#655)
* Added storage() scarpet function

Allows you to easly manage vanilla data command storage

* Added docs and uniformed with scoreboard()

storage(key, nbt) will now return the previous value to be consistant with the scoreboard() command.

* Included imports

* Renamed storage function to nbt_storage

* Update docs/scarpet/api/Auxiliary.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-01-13 21:14:57 -04: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
gnembon b362c46056 1.4.22, proven support for 1.16.5-pre1 2021-01-13 18:18:11 -04:00
Mitchell Skaggs 0f90328e53 Modify mixin signature to match 1.16 signature 2021-01-12 03:27:08 -06:00