Commit Graph
202 Commits
Author SHA1 Message Date
gnembon 56bd79aa69 nbt tags are mutable, assuming the wrapper owns them. 2020-06-18 16:57:16 -03:00
gnembonandGhoulboy78 29a81d53d6 unix_time and convert_date (#332)
* very simple stuff

* added unix_date and imporved unix_time

* Update docs/scarpet/api/Auxiliary.md

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

* Update Full.md

* Dont 100% work, but It'll do untl I fix tomorrow

* works, I think

* changeing weekdays

* removing weird stuff I didnt mean to do

* previous commits

* moving to expression.java

because prof.gnembon said

* moving away from LazyFUnctions

cos gnembon doesn't like evaluating somewhere

* updating docs

* tweaks to dates

Co-authored-by: Ghoulboy78 <ghoulboy27@gmail.com>
2020-06-17 11:10:59 -03:00
gnembon 69e9de06d4 making sure that any source can query entities since they already can run code. 2020-06-16 10:33:47 -03:00
gnembon 58862fca11 added snap to shape
added bulk shape rendering
2020-06-10 01:25:51 -03:00
gnembon 2f08ee8c01 player inventories can be specified as strings
player enderchest inventories can also be specified as a single string.
2020-06-07 19:32:08 -03:00
gnembon 73cb9d6968 added hunger, saturation, and exhaustion entity API calls. 2020-06-07 18:53:17 -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
gnembon 4271aa3a8e removed ability to automatically register events by running imports code, part two for 304 2020-06-01 22:11:37 -03:00
gnembon a86c127c72 added params and changed syntax for draw_shape 2020-06-01 03:01:39 -03:00
gnembon a1200d4c37 fixed so modify(..,'effect',...) does what docs say. 2020-05-27 00:53:21 -03:00
gnembon ab86fc9292 added 'portal_cooldown' and 'portal_timer' to entity API (query and modify) 2020-05-20 02:09:57 -03:00
gnembon a4750f7238 fixed entity 'home' arguments 2020-05-12 23:28:34 -03:00
gnembon b631f7b62e fixed notation of ranges 2020-05-10 18:44:49 -03:00
gnembon ad43784ad6 unify structure info. 2020-05-04 15:48:45 -03:00
gnembon 1e9a8726be tweaks to entity API code 2020-04-29 11:32:42 -03:00
gnembon 1aa237379e Merge pull request #241 from Ghoulboy78/modfy
added gamemode and jumping modifications
2020-04-29 10:36:48 -03:00
gnembon 7577c475f6 format, fixes #254 2020-04-29 00:48:02 -03:00
Nameless-123 049e44887f removed unused import 2020-04-27 09:50:51 +02:00
Nameless-123 332c04dd93 added silent, gravity, fire and age
cos i was bored, and I also checked it off for u
2020-04-27 09:46:17 +02:00
Nameless-123 a19e759039 added jump method to MobAi.java
My justification: https://github.com/gnembon/fabric-carpet/pull/241#discussion_r415576459
2020-04-27 09:30:31 +02:00
Nameless-123 e1c8712656 best way I could think of doing this 2020-04-27 09:07:44 +02:00
Nameless-123 aba2d605c8 removing unnecessary stuff
cos Idea told me to
2020-04-26 12:25:49 +02:00
Nameless-123 2873494f5c Most convoluted way of doing things 2020-04-26 12:03:14 +02:00
Nameless-123 cdfce6f005 not throwing exception 2020-04-26 11:34:49 +02:00
Nameless-123 63a49f0386 no need for that 2020-04-26 11:34:12 +02:00
Nameless-123 c255e6f330 changed to return null
instead of throwing exception
2020-04-26 11:25:22 +02:00
gnembon 4f6ebb4927 Update src/main/java/carpet/script/value/EntityValue.java
Added locale
2020-04-25 16:23:59 -04:00
Nameless-123 64f760564d added string
not case-sensitive
2020-04-24 13:12:48 +02:00
Nameless-123 182d34936a rename to jumpingcm 2020-04-24 12:26:39 +02:00
Nameless-123 367e584e43 Now it just continues to jump 2020-04-24 12:17:07 +02:00
Nameless-123 e8946fe9d5 changed to switch statement
much shorter and less messier
2020-04-24 12:10:49 +02:00
Nameless-123 e6b4f496de took out testing stuff 2020-04-24 12:08:03 +02:00
Nameless-123 3790889b6d made it lowercase
more inkeeping with rest of scarpet
Ill remove if u want
2020-04-24 12:02:57 +02:00
Nameless-123 e5317a6f29 Very useful indeed 2020-04-24 11:52:18 +02:00
Nameless-123 7740f9dc7f removed unused import 2020-04-22 12:48:27 +02:00
Nameless-123 6ca0759738 made integer reading better 2020-04-22 12:45:28 +02:00
Nameless-123 786ce3116a added different gamemode ids
cos i copypastad code and forgot to do that
2020-04-21 11:10:26 +02:00
Nameless-123 db48a5c061 wait, I hadn't amde it to gamemode_id!
oops
2020-04-21 11:08:40 +02:00
Nameless-123 2b6a1bf1c5 added gamemode_id and jump modifications 2020-04-21 11:07:00 +02:00
gnembon f5316a1e2d fixes #228 2020-04-21 01:38:48 -03:00
gnembon d56706b133 fixes #234 2020-04-21 03:03:28 -03:00
gnembon fb1a03b3f7 refactor argument parsers 2020-04-16 17:47:06 -03:00
gnembon 022addf4e1 fixed #225 yet again, added display_name, command_name and team option for entities. 2020-04-16 00:24:02 -03:00
gnembon 9a588cf19a fixes #225 2020-04-15 23:58:59 -03:00
gnembon c2dfaca1b8 added 'ping' 2020-04-01 13:09:02 -03:00
gnembon 90add8bd63 scoreboard /1 2020-03-24 09:44:56 -03:00
gnembon 9da1f087fd added entity API pose and fixed #180 2020-03-22 23:33:19 -03:00
gnembon 3f9556f9aa added legacy untracked npp lang specs 2020-03-18 00:47:30 -03:00
gnembon f43bd968bb still causes massive loadage if requested more than 2 chunks. Don't really know why. WIP I guess 2020-02-29 00:00:53 -04:00
gnembon 2968f77ed0 affixed ROOT locale, should fix #151 2020-02-23 02:40:48 -04:00