Commit Graph

323 Commits

Author SHA1 Message Date
mworzala
bcaa7df23d
feat: initial ArgumentItemStack reader, other minor fixes 2024-04-25 08:45:38 -04:00
mworzala
2b974d95f9
feat: more components 2024-04-25 08:45:34 -04:00
mworzala
a9e056a119
chore: more components 2024-04-25 08:45:34 -04:00
mworzala
5188c15245
feat: initial conversion to adventure nbt. no tests, no anvil 2024-04-25 08:45:11 -04:00
iam
7320437640
Optionally load vanilla biomes (#1988)
* Add biomes from vanilla

* cleanup

* rework biomes

* nullability

* getByName string

* expose vanilla biomes

* not null

* before rename

* rename

* nbt cache

* fix

* fix

* fix

* final on vanilla biome
2024-02-12 15:25:46 -05:00
Spongecade
e9e58e4fce
Update Minecraft Wiki links to new domain
(cherry picked from commit 478eba12fb)
2024-02-09 15:03:05 -05:00
rockquiet
c421971eaa fix typo in builtin command conditions (#115)
(cherry picked from commit 3be7b09b7d)
2024-02-09 14:27:43 -05:00
mworzala
5929b811ec return terminal 2024-02-09 14:27:43 -05:00
Matt Worzala
036e0b5ea3 hollow-cube/1.19.4_2 (#14)
* oopsie woopsie

* use double vector

* fix `minecraft:time` argument min property

(cherry picked from commit 6f11e42d46)
2024-02-09 14:27:43 -05:00
Matt Worzala
8f1f7e127d 1.19.4 (#11)
* first join

* add new entities

* fix type on interpolation duration

* switch long to var long

* switch long to var long, round 2

* add flags to TextDisplay

* 1.19.4

* setView in Entity#teleport

* do not trigger touchTick if entity physics are disabled

* Add new 1.19.4 packets

* constant expr

* no localhost on github actions

* yoinked changes from 1.19.3 main

* update to forked changes

* remove potion command

* remove potion command

---------

Co-authored-by: GreatWyrm <alecmusante@gmail.com>

(cherry picked from commit 7f3144337d)
2024-02-09 14:27:43 -05:00
mworzala
8335afdf47 hollow-cube/sender-in-command-arg-parsing
Signed-off-by: mworzala <mattheworzala@gmail.com>

fix default argument issue

(cherry picked from commit a7440639c8541faeb91155c53ce3a1f4d60df127)

Add sender to command parse chain

(cherry picked from commit 853307891d178abdc7036f8c809c52909cdca327)

(cherry picked from commit 1268cf16c0)
2024-02-09 14:27:43 -05:00
Codestech
cb3892255e
1.19.3 (#1851)
* hollow-cube/1.19.3

Signed-off-by: mworzala <mattheworzala@gmail.com>

fix sounds v2

(cherry picked from commit e6d4a2cc919d6ab5aa9402cc871a70535069d803)

fix command packet

(cherry picked from commit f3efd64f7bd1d0473e0899d202268f77bab35abf)

fix sound effect packets

(cherry picked from commit 8530b37b354129a2149aafe2820183b28766be00)

remove named sound effect & fix sound effect, entity sound effect packet is still wrong

(cherry picked from commit 612f6065a12c465c07816c8551b1c44f17c21159)

update NamedSoundEffectPacket to 1.19.3

(cherry picked from commit 8c78d9beac96f94770f6fd0e9216452c3421bcfd)

update datagen, add read method to player info update (though it seems kinda broken)

(cherry picked from commit 6464a72dabc5edaf9b09ef1b8100815965bbad74)

Add ChatSession

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 0488915fda)

Unnecessary line change

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 915836f490)

Make tests compile

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 220217fcc1)

Fix info update

Signed-off-by: TheMode <themode@outlook.fr>

(cherry picked from commit 1a606285c0)

Fix unsigned message

Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 7ba55fdfef)

1.19.3 support

(cherry picked from commit f09fdd862b)

* Cleanup

* Fix tests

* Fix tests round 2

* Cleanup round 2

* remove logback

* remove chatbound

* don't use magic numbers

* Fix formatting

* Unused imports

* Fix and add update display name packet test back

* Cleanup tests

* Bump minestom data

* Add ArgumentResource and ArgumentResourceOrTag

* Fix spacing

---------

Co-authored-by: themode <themode@outlook.fr>
Co-authored-by: KrystilizeNevaDies <tyreece@rozycki.family>
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
2023-05-21 17:51:13 +03:00
TheMode
c95ced9493 Misc intellij suggestions
Signed-off-by: TheMode <themode@outlook.fr>
2022-10-27 15:25:51 +02:00
TheMode
fc90fe8852 Remove some Collections usage
Signed-off-by: TheMode <themode@outlook.fr>
2022-09-06 15:08:36 +02:00
TheMode
1dd2cc72ee
1.19.2 (#774) 2022-09-05 13:54:58 +02:00
Noel Németh
9e5de35fa7
New command parser (#1235) 2022-07-25 19:34:40 +02:00
TheMode
0309d12540 Test loop/group arguments
Signed-off-by: TheMode <themode@outlook.fr>
2022-07-06 11:12:08 +02:00
Noel Németh
10a2967f33 Fix wrapper arguments not forwarding node properties 2022-07-05 20:25:09 +02:00
Noel Németh
2a1abdbaf4 Fix subcommands not being added to the graph and (maybe) better separate responsibilities of the relevant classes 2022-07-05 01:36:42 +02:00
Noel Németh
793561e0cb
Simplify command graph generation (#1200) 2022-07-02 05:39:39 +02:00
GoldenStack
54a6bcd2af
Command Tests (#1199) 2022-07-02 02:12:07 +02:00
Zak Shearman
a01ff09563
Return null, don't throw NullPointerException (#1131) 2022-05-28 11:39:50 +02:00
TheMode
d316290ab8
Command test (#597) 2022-01-23 23:30:57 +01:00
Xavier Niochaut
9ab4277502 Port to Hephaistos v2 (#424) 2022-01-10 16:51:21 +01:00
TheMode
3fa7a0ba4b Deprecate unsafe casting methods
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-23 20:38:57 +01:00
TheMode
7891cc5bbe Use more instanceof pattern matching
Signed-off-by: TheMode <themode@outlook.fr>
2021-10-22 02:19:38 +02:00
LeoDog896
811e3c542b Fix up tab completion for EntityType 2021-08-25 18:35:51 -04:00
TheMode
f1c9268897 Catch Throwable instead of Exception 2021-08-22 18:35:19 +02:00
TheMode
93fc7235e0 Fix context being null in globalListener 2021-08-22 14:22:06 +02:00
Németh Noel
f633cef273 Change argument order, restrict range type 2021-08-22 08:45:39 +02:00
Németh Noel
293786854b Fix range parsing 2021-08-22 08:36:02 +02:00
TheMode
2dbf795d5c Fix ArgumentBlockState not throwing an exception when properties are incorrect 2021-08-22 07:13:50 +02:00
TheMode
a519360a8d Fix ArgumentNumber range error 2021-08-22 06:05:28 +02:00
TheMode
987e355a70 Cleanup basic command parsing 2021-08-19 09:06:24 +02:00
TheMode
f3524d4a4f Use var to replace verbose map entrySet loop 2021-08-16 01:29:46 +02:00
Németh Noel
47a07ca219 Fix exception message 2021-08-10 22:21:19 +02:00
Németh Noel
c94344a22e Reduce boilerplate, add missing toString method 2021-08-10 22:18:11 +02:00
TheMode
1c3bb5b0ff First NIO attempt
Signed-off-by: TheMode <themode@outlook.fr>
2021-08-03 12:57:13 +02:00
TheMode
16e4b61eb7 Fix unused imports 2021-07-29 00:02:43 +02:00
TheMode
de944edf42 Fix item stack argument 2021-07-28 14:35:07 +02:00
TheMode
13b7039721 Replace most enums 2021-07-28 14:29:28 +02:00
TheMode
a6a657b9b8 Make Enchantment an interface 2021-07-28 13:27:49 +02:00
TheMode
274a40ea27 Make EntityType an interface 2021-07-27 11:56:20 +02:00
TheMode
c549ec1663 Remove legacy registry methods 2021-07-27 09:55:01 +02:00
TheMode
5285665939 Remove longly deprecated chat package 2021-07-27 06:55:08 +02:00
TheMode
adacf6b8aa Improve mapping/filtering 2021-07-25 05:56:52 +02:00
TheMode
6c4cb66737 Merge branch 'master' into new-block-api 2021-07-23 01:09:22 +02:00
MrGazdag
ac2d61d68b
undeprecate ArgumentType.Long() 2021-07-22 19:49:40 +02:00
MrGazdag
d3515c13c3
Change ArgumentLong to use actual longs
why is this not a thing already
2021-07-22 19:44:39 +02:00
TheMode
404852b0b1 Make ArgumentSyntaxException a RuntimeException 2021-07-13 19:21:29 +02:00