Commit Graph

5487 Commits

Author SHA1 Message Date
Matt Worzala
6805c903f3 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>

(cherry picked from commit e9d0098418)
2024-02-09 14:27:43 -05:00
mworzala
0c328a4e7b rename artifact ID 2024-02-09 14:27:43 -05:00
mworzala
5d00aa5f28 rename main back to master, minor cleanup 2024-02-09 14:27:43 -05:00
mworzala
351d2197b1 collect all server options in ServerFlag file, other minor changes 2024-02-09 14:27:43 -05:00
mworzala
7e2eb9c67b revert javadoc publishing behavior 2024-02-09 14:27:43 -05:00
mworzala
5929b811ec return terminal 2024-02-09 14:27:43 -05:00
mworzala
1cd68e0c3f hollow-cube/minestom-ce -> minestom/minestom 2024-02-09 14:27:43 -05:00
Matt Worzala
cccef17e27 hollow-cube/update-hephaistos (#49)
Fixes #25

(cherry picked from commit 5ba3d92d83)
2024-02-09 14:27:43 -05:00
David Mayr
9bb412c34f 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

(cherry picked from commit 34558e75ee)
2024-02-09 14:27:43 -05:00
mworzala
4ece2aa378 hollow-cube/1_20-advancement-packet-fix
(cherry picked from commit 1f87f26b4f)
2024-02-09 14:27:43 -05:00
Matt Worzala
c657be553f 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>
(cherry picked from commit 8da8a70342)
2024-02-09 14:27:43 -05:00
Matt Worzala
ccb7a81dc9 hollow-cube/fix-riptide-animation (#44)
Co-authored-by: TogAr2 <59421074+TogAr2@users.noreply.github.com>
(cherry picked from commit d901eaaed1)
2024-02-09 14:27:43 -05:00
Matt Worzala
edf7b870c7 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>
(cherry picked from commit 2c567696ac)
2024-02-09 14:27:43 -05:00
mworzala
6d3690a660 hollow-cube/javadocs-clear-only-target
(cherry picked from commit 28983ef364)
2024-02-09 14:27:43 -05:00
mworzala
66ef08f01b hollow-cube/javadocs-to-javadoc-repo
(cherry picked from commit c3ec996ff7)
2024-02-09 14:27:43 -05:00
Matt Worzala
1267f09ea9 hollow-cube/javadocs (#41)
(cherry picked from commit a99fdee831)
2024-02-09 14:27:43 -05:00
Matt Worzala
9899f480b6 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>
(cherry picked from commit ab35ab0587)
2024-02-09 14:27:43 -05:00
Matt Worzala
802f72aa0d 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

(cherry picked from commit ef37e40cd8)
2024-02-09 14:27:43 -05:00
iam
c616b3498a 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

(cherry picked from commit 12aa1e6b7b)
2024-02-09 14:27:43 -05:00
David Mayr
91a902afb3 hollow-cube/missing-pose-sitting
(cherry picked from commit 65254e919d)
2024-02-09 14:27:43 -05:00
mworzala
0208ce8193 hollow-cube/entity-teleport-head-fix
(cherry picked from commit 4da527c25a)
2024-02-09 14:27:43 -05:00
mworzala
ef075bec3f hollow-cube/block-update-changes
(cherry picked from commit 74ca1041f3)
2024-02-09 14:27:43 -05:00
mworzala
bb6a93da89 hollow-cube/prevent-block-updates
(cherry picked from commit 55a1349049)
2024-02-09 14:27:43 -05:00
mworzala
7a374a5079 hollow-cube/fix-entity-metadata-translation
(cherry picked from commit d47db72421)
2024-02-09 14:27:43 -05:00
mworzala
f6c91085b6 hollow-cube/dimension-names-part-2
(cherry picked from commit 3dbf364340)
2024-02-09 14:27:43 -05:00
mworzala
c733016d9e hollow-cube/dimension-change-part-2
(cherry picked from commit b9ce08a509)
2024-02-09 14:27:43 -05:00
mworzala
b4c41adb7d hollow-cube/dimension-names
(cherry picked from commit 7493b640b7)
2024-02-09 14:27:43 -05:00
mworzala
5413f9c98f hollow-cube/fix-slow-dimension-change
(cherry picked from commit 388dbf71b9)
2024-02-09 14:27:43 -05:00
mworzala
37f6877b0a hollow-cube/block-handler-in-chunk-setblock
(cherry picked from commit 54e839e58a)
2024-02-09 14:27:43 -05:00
mworzala
f31b74a386 hollow-cube/chunk-sending-rate-config
(cherry picked from commit a981bd78ff)
2024-02-09 14:27:43 -05:00
iam
7cce1aa479 hollow-cube/projectile-physics-improvements
* Add better protectiles

* Cleanup

* better physics

* Add filter

* Update EntityCollision.java

* Negate filter check

(cherry picked from commit 0400e2dda4)
2024-02-09 14:27:43 -05:00
iam
b32146a316 hollow-cube/lighting-update-2
Delay light sending, send lighting slower, fix sending multiple times

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
(cherry picked from commit 8a5c610b7b)
2024-02-09 14:27:43 -05:00
mworzala
4a261c365c hollow-cube/material-in-replacement-rule
(cherry picked from commit 438338381e)
2024-02-09 14:27:43 -05:00
mworzala
f019fe69d0 hollow-cube/respectful-chunk-sending
(cherry picked from commit 9f3ee89506)
2024-02-09 14:27:43 -05:00
iam
b08a526790 enable light parity test (#22)
(cherry picked from commit 54850b0c74)
2024-02-09 14:27:43 -05:00
mworzala
a18485e61e hollow-cube/block-interact-ack-fix
(cherry picked from commit 1f1a2bf196)
2024-02-09 14:27:43 -05:00
Matt Worzala
969e0d6643 hollow-cube/1.20
* initial 1.20 support

* test fixes

* anvil 1.20, 1.20.1

(cherry picked from commit 716f32972a)
2024-02-09 14:27:43 -05:00
Matt Worzala
128c525b7c hollow-cube/placement-rule-improvement
* improve placement rule api and remove existing vanilla rules

* readme changes

(cherry picked from commit b0b640ccd7)
2024-02-09 14:27:43 -05:00
mworzala
7c60e06e35 oopsie woopsie
(cherry picked from commit 197371a35e)
2024-02-09 14:27:43 -05:00
mworzala
2f6941c68e iam fix to lighting
(cherry picked from commit 8ff6339365)
2024-02-09 14:27:43 -05:00
mworzala
3408df73f8 fix 1.19.4 text display text opacity type
(cherry picked from commit e142a55f51)
2024-02-09 14:27:43 -05:00
iam
3a18235679 More aggressive lighting delay, resend neighbour lighting data after chunk generation (#16)
(cherry picked from commit 9c6cb1796c)
2024-02-09 14:27:43 -05:00
iam4722202468
7b7f0308aa Fix flexible palette out of bounds
(cherry picked from commit 5afce81de5)
2024-02-09 14:27:43 -05:00
iam
912fb34f17 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

(cherry picked from commit f13a7b49fa)
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
Huynh Tien
b18eac80a4 hollow-cube/generic-projectile-generator-for-ranged-attack (#9)
* general ProjectileGenerator for RangedAttackGoal

Let the users create any Entity as projectile (not just EntityProjectile)

* disable server address tests in github actions

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
(cherry picked from commit d411c271cf)
2024-02-09 14:27:43 -05:00
Matt Worzala
9e85687575 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

(cherry picked from commit 381d89497a)
2024-02-09 14:27:43 -05:00
emortaldev
8a6a8f0050 hollow-cube/distance-squared-optimization
* Use distance squared where possible

* Update EntityFinder.java

* Update FollowTargetGoal.java

* Consistent methods for squared

(cherry picked from commit 4e0bc47429)
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