Commit Graph

44 Commits

Author SHA1 Message Date
mworzala
8a75e9e986 feat: cleanup, remove ConnectionManager#getOnlinePlayers 2024-01-16 10:43:26 -05:00
mworzala
e702c09f06 feat: start reentry of config phase 2024-01-16 10:43:26 -05:00
mworzala
b04fca8e7f chore: remove some unnecessary logging 2024-01-16 10:43:26 -05:00
mworzala
1161fbf1b1 feat: add AsyncPlayerConfigurationEvent, remove PlayerLoginEvent 2024-01-16 10:43:26 -05:00
mworzala
9eab3d4f8b chore: port DamageType cleanup change from MelonHell 1.19.4 PR 2024-01-16 10:43:26 -05:00
mworzala
13edf5f863 finish configuration phase, ish 2024-01-16 10:43:26 -05:00
mworzala
666bb98957
fix: bad collision shape parsing 2023-12-01 21:59:50 +02:00
Matt Worzala
e9d0098418
hollow-cube/command-parser-fixes (#54)
* Rewrite CommandParserImpl recursively (fix #1327)

* Fix for tests: CommandManagerTest, CommandParseTest

* Make attributes final inside Chain

* fix #1295 with argument type priority

* Don't include command name in list of arguments

* Add test for #1327

* Add test for #1295

* Fix suggestions with bad syntax

* Fix #1916

* Add test for #1916

* add failing test

* mess with arg order

* Fix `GraphImpl` causing syntax order issues

---------

Co-authored-by: Spanner <spanner77@protonmail.com>
2023-08-30 23:04:11 +00:00
mworzala
1f87f26b4f
hollow-cube/1_20-advancement-packet-fix 2023-08-05 14:07:38 -04:00
mworzala
74ca1041f3
hollow-cube/block-update-changes 2023-07-16 08:33:09 -04:00
mworzala
55a1349049
hollow-cube/prevent-block-updates 2023-07-16 07:48:05 -04:00
mworzala
d47db72421
hollow-cube/fix-entity-metadata-translation 2023-07-09 19:14:40 -04:00
mworzala
54e839e58a
hollow-cube/block-handler-in-chunk-setblock 2023-07-02 15:34:54 -04:00
iam
8a5c610b7b
hollow-cube/lighting-update-2
Delay light sending, send lighting slower, fix sending multiple times

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
2023-06-18 15:16:09 -04:00
mworzala
9f3ee89506
hollow-cube/respectful-chunk-sending 2023-06-17 10:43:03 -04:00
mworzala
1f1a2bf196
hollow-cube/block-interact-ack-fix 2023-06-15 19:55:05 -04:00
Matt Worzala
b0b640ccd7
hollow-cube/placement-rule-improvement
* improve placement rule api and remove existing vanilla rules

* readme changes
2023-06-14 22:00:27 -04:00
iam
f13a7b49fa
hollow-cube/lighting (#13)
* Lighting

* Remove invalidate

* Private

* Fix chunk loading

* Small fixes

* Fix loading light from anvil world

* Fix solid

* Temporary

* Fix tests, add seagrass and tall seagrass to diffusion list

* Make test faster, replace hephaistos

* Cleanup

* Assume failed test

* Fix chunk not getting invalidated
2023-05-27 19:41:14 -04:00
Matt Worzala
7f3144337d
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>
2023-05-21 19:21:24 +03:00
Matt Worzala
381d89497a
hollow-cube/gradle-rework (#8)
* in order to make an omelet, you have to break a few eggs. aka absolutely decimate the gradle project

* far more sane gradle, no publishing yet tho

* attempt maven deploy

* fix publish url and use snapshot repo

* fix secret names

* release, and properly set version

* attempt to set group correctly

* more gradle fixups
2023-05-06 23:18:22 +03:00
mworzala
52dccf793f
hollow-cube/no-logger-no-terminal
Signed-off-by: mworzala <mattheworzala@gmail.com>

make some loggers private

(cherry picked from commit 03ff6dca3493646098bf194ebd19aadf90ecf800)

add slf4j dep to codegen module

(cherry picked from commit b9136e3e579e98a0567e7ecf838c72ff5c159858)

add back slf4j dep

(cherry picked from commit 174c5b8b6a3223310e250fb5dad48b179b101fe5)

remove tinylog and MinestomTerminal

(cherry picked from commit 352161c326fe2dbb5989e5a45571c76795407ff5)
2023-04-30 09:09:57 +03:00
mworzala
2915558004
hollow-cube/no-extensions
Signed-off-by: mworzala <mattheworzala@gmail.com>

remove extension stuff from demo

(cherry picked from commit 6052e726d03d6a27dd11962134328ad474ce45a9)

remove extensions

(cherry picked from commit 40ba24e43b6eb0f8869d80c30bd47d799c82a094)

(cherry picked from commit f4f9a905f74e7bf67fc2af341a25b9e85933abbe)
2023-04-30 09:06:45 +03:00
themode
fe9a4291bf
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)
2023-04-30 09:01:53 +03:00
TheMode
fc90fe8852 Remove some Collections usage
Signed-off-by: TheMode <themode@outlook.fr>
2022-09-06 15:08:36 +02:00
Xavier Niochaut
f62d4e47fc
Heavily reduce memory consumption of AnvilLoader (#1005)
* (Heavily) Reduce memory consumption of AnvilLoader
/!\ requires building and publishing Hephaistos master to local Maven for now

* Cache biome mapping per chunk instead of per section

* Starting work on integration tests

* [AnvilLoader] Address issue #423

* [AnvilLoader] Use new Hephaistos saving API

* Use MavenCentral version of Hephaistos
2022-08-05 21:05:23 +02:00
Noel Németh
793561e0cb
Simplify command graph generation (#1200) 2022-07-02 05:39:39 +02:00
Noel Németh
b112248ae8
Fix by checking if the connection uses inet socket (#1152) 2022-06-05 14:53:28 +02:00
Articdive
501020a453
Update JNoise to 4.0.0-SNAPSHOT. (#884) 2022-04-26 12:31:00 +02:00
TheMode
63b40deb34
Item API refactoring (#904) 2022-04-13 17:57:15 +02:00
TheMode
dd26d4ceb8 Fix compilation
Signed-off-by: TheMode <themode@outlook.fr>
2022-04-09 18:05:23 +02:00
TheMode
a70bb15146
Low level generation API (#574) 2022-04-08 07:19:52 +02:00
themode
f36304f613 Disable random spawn position 2022-03-08 14:21:27 +01:00
themode
762bbf525d Move native image resources 2022-02-28 00:08:25 +01:00
themode
119afa6311 Simplify EntityTracker, reduce allocations 2022-02-25 02:30:01 +01:00
TheMode
9b04e89552
Add PlayerPacketOutEvent (#689) 2022-02-17 13:51:55 +01:00
mworzala
070a45cb97
Move extension demo to demo project (can be loaded with indev classes currently) 2022-02-02 08:10:00 -05:00
themode
6ecf486b9d Remove guava dependency 2022-01-27 05:15:51 +01:00
themode
f66a5044e3 Include native-image config files in demo subproject 2022-01-26 08:08:40 +01:00
TheMode
2633609ccd Fix javadoc
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-10 16:58:44 +01:00
themode
3eb0bc28c0 Move commands 2022-01-10 16:51:21 +01:00
jglrxavpok
c46d7bf506 Use Hephaistos v2.4.0 to correctly handle world heights
Should fix https://github.com/Minestom/Minestom/issues/559
2022-01-10 16:51:21 +01:00
TheMode
5bbf4642e8 Server process (#550) 2022-01-10 16:51:21 +01:00
themode
053ed8cd3b Change shadowJar archive name 2022-01-10 16:51:21 +01:00
Articdive
3089843cc9 Build system update (#527) 2022-01-10 16:51:21 +01:00