Commit Graph

5334 Commits

Author SHA1 Message Date
Spanner
e2efdbb427
Fix empty command chain causing NullPointerException (#1931)
* Fix empty command chain causing NullPointerException

* Add test for empty command input

(cherry picked from commit 3645d4311d)
2023-09-02 02:24:36 -04: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
Trickfilm400
0e8151150a
hollow-cube/fix-changelog-link (#50) 2023-08-27 14:15:59 +00:00
Matt Worzala
5ba3d92d83
hollow-cube/update-hephaistos (#49)
Fixes #25
2023-08-21 14:07:37 +00:00
David Mayr
34558e75ee
hollow-cube/entity-metadata-patches (#35)
* feat: add more boat types

* feat: goat horn api

* feat: pillager crossbow meta

* feat: use boat metadata for chestboat

* feat: add warden meta

* fix: incorrect dolphin meta

* feat: allow to set null values for tounge target

* feat: nullable tounge target

* fix: update max offset in goat
2023-08-06 21:32:39 -04:00
mworzala
1f87f26b4f
hollow-cube/1_20-advancement-packet-fix 2023-08-05 14:07:38 -04:00
Matt Worzala
8da8a70342
hollow-cube/prevent-block-placement-outside-world (#42)
* Prevent block place above 320

(cherry picked from commit d226c3994a)

* Move position of check

(cherry picked from commit ff7c4c108f)

* Add unit test

(cherry picked from commit 68500bf0d0)

* Add min y check

(cherry picked from commit 0ce77673a9)

---------

Co-authored-by: nucker <nuckermail@gmail.com>
2023-08-05 17:10:37 +00:00
Matt Worzala
d901eaaed1
hollow-cube/fix-riptide-animation (#44)
Co-authored-by: TogAr2 <59421074+TogAr2@users.noreply.github.com>
2023-08-05 16:57:38 +00:00
Matt Worzala
2c567696ac
hollow-cube/add-gamemodechangeevent-and-fix-game-profile (#43)
* Resolve some todos and add connection.setProfile to EncryptionResponsePacket

* Add PlayerGameModeChangeEvent

(cherry picked from commit 1514d8ac1f)

* Add unit tests

(cherry picked from commit 9685e74f3b)

---------

Co-authored-by: GreatWyrm <alecmusante@gmail.com>
Co-authored-by: NxDs <7994264+NxDs@users.noreply.github.com>
2023-08-05 16:53:57 +00:00
mworzala
28983ef364
hollow-cube/javadocs-clear-only-target 2023-08-05 11:05:28 -04:00
mworzala
c3ec996ff7
hollow-cube/javadocs-to-javadoc-repo 2023-08-05 11:01:27 -04:00
Matt Worzala
a99fdee831
hollow-cube/javadocs (#41) 2023-08-05 14:37:34 +00:00
Matt Worzala
ab35ab0587
hollow-cube/display-name-and-team-fixes (#40)
* Update Player.java

* Remove useless team creation packets

* Send display names to new players

* Oops

* Add display name test

* Change to act

* Do not send display name if they do not have one

---------

Co-authored-by: emortaldev <me@emortal.dev>
2023-08-05 14:30:53 +00:00
Matt Worzala
ef37e40cd8
hollow-cube/biome-manager-concurrency (#39)
Co-authored-by: tahmid-23 <60953955+tahmid-23@users.noreply.github.com>

See https://github.com/Minestom/Minestom/pull/1917
2023-08-05 14:21:05 +00:00
iam
12aa1e6b7b
hollow-cube/lighting-memory-reduction
Lighting reduce memory + Fix lighting not sending + Performance (#31)

* Reduce memory

* Clone

* Executor pool + cleanup

* Cleanup

* Don't batch, it's slower

* Parallel chunk loading for test

* Check below chunk 6. Sky light data doesn't appear to be saved above the highest point in the chunk height map.

* Fix weird locking

* ඞ

* Fix test

* Fix indentation

* Use short instead of int

* Use short instead of int

* Start removing borders

* Borders gone

* Cleanup

* Cleanup

* Remove borders fully - Still needs cleanup

* Cleanup 1

* Cleanup 2

* Cleanup 3

* Cleanup 4

* Cache

* Performance

* Performance

* Cleanup

* Cleanup

* Refactor

* Cleanup from self-review
2023-08-04 16:08:24 -04:00
mworzala
e9f62f4657
Revert "hollow-cube/changelog-link-in-readme (#33)"
This reverts commit 2b1f4f6fab.
2023-08-02 09:27:21 -04:00
Ryan Johnson
2b1f4f6fab
hollow-cube/changelog-link-in-readme (#33) 2023-08-01 08:25:45 +00:00
GoldenStack
74020930be
Fix enchantment registry reading (Minestom/Minestom#1902)
Signed-off-by: GoldenStack <goldenfire64yt@gmail.com>
(cherry picked from commit c5047b8037)
2023-08-01 04:19:44 -04:00
Hydrogen
80a4577940
Add static to Query stop and isStarted methods (Minestom/Minestom#1867)
(cherry picked from commit 954e8b3915)
2023-08-01 04:19:43 -04:00
TheMode
315a97d677
Inline array initialization
Signed-off-by: TheMode <themode@outlook.fr>
(cherry picked from commit 9b15acf4fa)
2023-08-01 04:19:43 -04:00
Tomáš Hůla
96cd23fa7c
Fix boat steer NPE (Minestom/Minestom#1854)
(cherry picked from commit 80f5db34a6)
2023-08-01 04:19:43 -04:00
Not Flamgop
1874b238e4
Add Cancel and Finish digging events (Minestom/Minestom#1846)
* Add Cancel and Finish digging events

* Add a function for setting the block which was dug in PlayerFinishDiggingEvent.java

(cherry picked from commit 01ffec6614)
2023-08-01 04:19:43 -04:00
David Mayr
65254e919d
hollow-cube/missing-pose-sitting 2023-07-28 12:49:11 +00:00
mworzala
4da527c25a
hollow-cube/entity-teleport-head-fix 2023-07-22 15:10:56 -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
3dbf364340
hollow-cube/dimension-names-part-2 2023-07-04 21:21:59 -04:00
mworzala
b9ce08a509
hollow-cube/dimension-change-part-2 2023-07-04 17:57:40 -04:00
mworzala
7493b640b7
hollow-cube/dimension-names 2023-07-04 17:44:30 -04:00
mworzala
388dbf71b9
hollow-cube/fix-slow-dimension-change 2023-07-04 17:38:03 -04:00
mworzala
54e839e58a
hollow-cube/block-handler-in-chunk-setblock 2023-07-02 15:34:54 -04:00
mworzala
a981bd78ff
hollow-cube/chunk-sending-rate-config 2023-06-30 16:41:00 -04:00
iam
b572709a2d
hollow-cube/collision-changelog
* Add information about new entity collision API

* Update CHANGELOG.md
2023-06-27 22:03:06 +00:00
iam
0400e2dda4
hollow-cube/projectile-physics-improvements
* Add better protectiles

* Cleanup

* better physics

* Add filter

* Update EntityCollision.java

* Negate filter check
2023-06-27 17:40:57 -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
438338381e
hollow-cube/material-in-replacement-rule 2023-06-18 07:54:50 -04:00
mworzala
9f3ee89506
hollow-cube/respectful-chunk-sending 2023-06-17 10:43:03 -04:00
iam
54850b0c74
enable light parity test (#22) 2023-06-16 19:16:53 -04:00
mworzala
1f1a2bf196
hollow-cube/block-interact-ack-fix 2023-06-15 19:55:05 -04:00
Matt Worzala
716f32972a
hollow-cube/1.20
* initial 1.20 support

* test fixes

* anvil 1.20, 1.20.1
2023-06-14 22:11:18 -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
mworzala
197371a35e
oopsie woopsie 2023-06-10 19:10:11 -04:00
mworzala
8ff6339365
iam fix to lighting 2023-06-10 19:09:35 -04:00
mworzala
e142a55f51
fix 1.19.4 text display text opacity type 2023-06-07 17:01:40 -04:00
iam
9c6cb1796c
More aggressive lighting delay, resend neighbour lighting data after chunk generation (#16) 2023-05-28 16:32:44 -04:00
iam4722202468
5afce81de5
Fix flexible palette out of bounds 2023-05-28 14:30:05 -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
6f11e42d46
hollow-cube/1.19.4_2 (#14)
* oopsie woopsie

* use double vector

* fix `minecraft:time` argument min property
2023-05-26 15:25:50 -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