Commit Graph
39 Commits
Author SHA1 Message Date
Ghoulboy 164122eba2 Adding query player language (#824) 2021-04-26 21:38:29 -03:00
Ghoulboy 1bc2dd94da Adding b64 and json decoder and encoder functions (#829) 2021-04-26 21:21:35 -03:00
b7252a3465 Fixing small issues (#717)
* adding unix_time and convert_dat eto editor autocomplete

I never used it, and only realised rn when I needed it.

* updating npp docs too

* Fixes #690

Fixes #690

* Fixes #687

Fixes #687

* fixes #672

* adding comma to make it look gooder

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

* using alias to shorten code

* compacting wool code

* Fixing minor todos

* removing hit/hand garbage

* removing scoreboards garbage

* making sure I dont edit file accidentally

* fixing borken code and problem with pink and magenta showing same colour

* Change name of mod to, you know, actually be the name of the mod

* Reverting previous change because it is more descriptive of the actual mod

* Update src/main/java/carpet/script/api/WorldAccess.java

Co-authored-by: Ghoulboy78 <ghoulboy78@gmail.com>
Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
2021-04-14 22:47:14 -03:00
Ghoulboy e3f1302be0 Removing random line of code... 2021-04-08 18:03:45 +02:00
Ghoulboy 0a54176383 removing random variable declaration 2021-03-31 16:05:53 +02: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
Ghoulboy78 6d7f7a7bdc improving prims not to calculate blocks unnecessarily (thx @Firigion) 2021-03-05 22:24:42 +01:00
Ghoulboy a957af32d1 removing _carpets stuff to detach from carpet rules 2021-03-02 18:32:04 +01:00
Ghoulboy 356f3e94d6 fixing editing oopsies 2021-03-02 18:29:55 +01:00
Ghoulboy78 ae63c7be1d registering as built-in library (thx @altrisi) 2021-02-25 09:32:00 +01:00
Ghoulboy78 41186c1da3 using in-built distance func (cos previous one wasnt even used lol) 2021-02-24 12:33:50 +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
Ghoulboy78 5287fed712 Update distance_beta.sc 2021-02-24 09:39:04 +01:00
Ghoulboy78 b649f5c830 Update camera.sc 2021-02-24 09:37:21 +01:00
Ghoulboy78 71c82acdb1 Update ai_tracker.sc 2021-02-24 09:35:23 +01:00
Ghoulboy78 6375108dbf Add game_data_version (it's mostly for WE dev, ngl) 2020-12-28 10:28:20 +01:00
Ghoulboy bf0b75ebff adding dev_environment (#615) 2020-12-07 08:39:04 -04:00
Ghoulboy 990a377f0b Adding convert_date and unix_time to docs (#614) 2020-12-07 08:38:02 -04:00
Ghoulboy 49e5c012b3 Adding Gamerule modification to scarpet (#610) 2020-12-06 20:32:29 -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
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
Ghoulboy 38bda134b7 Update item_category (#473)
* Update item_catrgory so it doesnt crash with an item which has no category
2020-09-23 20:59:53 -03:00
Ghoulboy 26169f042e Updating logger to support different types (#452) fixes #437
* Updating logger to support different types

* changing to ouptut info by default

* updating docs with air

* adding air modify definition
2020-09-07 15:19:28 -03:00
Ghoulboy ac7cdc69b2 add to gitignore (#448) 2020-09-03 20:15:26 -03:00
Ghoulboy a35d14ead4 Fixes #420 (#431) 2020-08-25 01:03:43 -03:00
Ghoulboy 222e2aa71a fix bug (#421) 2020-08-20 23:01:15 -03:00
Ghoulboy 3dc5f713ab added "ops" setting to each rule (#390)
* added "ops" setting to each rule

* removing changes

* implementing gnembon's fix

* removing unnecessary stuffs

* removing unnecessary changes v2

* removing unnecessary changes v3

* Separating bool from command
2020-08-03 01:32:26 -03:00
Ghoulboy 986909c1f4 Add support for triples of positions in volume (#321)
* Add support for triples of positions in volume

it work good!

* Updating docs

* made it work with 5 arguments

so like volume(x,y,z,pos) or volume(pos,x,y,z).
Also renamed previous variables

* updated docs

* making it smarter

* made it work for rect and diamond

and cleaned up some earlier code

* updated docs

* did all ur stuffs

* fixin the issues
2020-06-17 12:11:01 -03:00
GhoulboyandGhoulboy78 d9ed35676f Added hunger, saturation and exhaustion modification and querying (#286)
* Added hunger querying and modification

* Cleaning up old code

* forgot semicolon

* Added saturation querying and modification and exhaustion modification

working on exhaustion querying

* added if statements

to avoid crash

* more if statements

* o ye boi!

Co-authored-by: Ghoulboy78 <53367549+Ghoulboy-78@users.noreply.github.com>
2020-06-07 17:57:04 -03:00
GhoulboyandGhoulboy78 a272725928 Cylinders n cuboids (#284)
Co-authored-by: Ghoulboy78 <53367549+Ghoulboy-78@users.noreply.github.com>
2020-05-18 17:24:19 -03:00
Ghoulboy 4e17f2277e fixed typo (#256)
* fixed typo

* more typo
2020-04-30 08:26:15 -03:00
Ghoulboy 8d41bfa167 Undid egyptian bracing
cos gnembon hates egyptians
2020-04-21 11:15:55 +02:00