Commit Graph

5322 Commits

Author SHA1 Message Date
Matt Worzala
fb3fd2862a
hollow-cube/javadocs (#41)
(cherry picked from commit a99fdee831)
2023-09-08 07:34:58 -04:00
Matt Worzala
4c777fc0f8
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)
2023-09-08 07:34:58 -04:00
Matt Worzala
be913c13da
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)
2023-09-08 07:34:58 -04:00
iam
8244be4417
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)
2023-09-08 07:34:57 -04:00
David Mayr
32e2f8e335
hollow-cube/missing-pose-sitting
(cherry picked from commit 65254e919d)
2023-09-08 07:34:57 -04:00
mworzala
43d2a0a1e2
hollow-cube/entity-teleport-head-fix
(cherry picked from commit 4da527c25a)
2023-09-08 07:34:57 -04:00
mworzala
75a5603fc8
hollow-cube/block-update-changes
(cherry picked from commit 74ca1041f3)
2023-09-08 07:34:57 -04:00
mworzala
c879c1753d
hollow-cube/prevent-block-updates
(cherry picked from commit 55a1349049)
2023-09-08 07:34:57 -04:00
mworzala
47a5f9dea4
hollow-cube/fix-entity-metadata-translation
(cherry picked from commit d47db72421)
2023-09-08 07:34:56 -04:00
mworzala
f8518bdae8
hollow-cube/dimension-names-part-2
(cherry picked from commit 3dbf364340)
2023-09-08 07:34:56 -04:00
mworzala
7953b33da4
hollow-cube/dimension-change-part-2
(cherry picked from commit b9ce08a509)
2023-09-08 07:34:56 -04:00
mworzala
4a2da56868
hollow-cube/dimension-names
(cherry picked from commit 7493b640b7)
2023-09-08 07:34:56 -04:00
mworzala
fa93421853
hollow-cube/fix-slow-dimension-change
(cherry picked from commit 388dbf71b9)
2023-09-08 07:34:56 -04:00
mworzala
7cbf3c62b6
hollow-cube/block-handler-in-chunk-setblock
(cherry picked from commit 54e839e58a)
2023-09-08 07:34:56 -04:00
mworzala
36b84fd85b
hollow-cube/chunk-sending-rate-config
(cherry picked from commit a981bd78ff)
2023-09-08 07:34:55 -04:00
iam
66ad77225a
hollow-cube/projectile-physics-improvements
* Add better protectiles

* Cleanup

* better physics

* Add filter

* Update EntityCollision.java

* Negate filter check

(cherry picked from commit 0400e2dda4)
2023-09-08 07:34:55 -04:00
iam
a8d37fa46a
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)
2023-09-08 07:34:55 -04:00
mworzala
f5c264babc
hollow-cube/material-in-replacement-rule
(cherry picked from commit 438338381e)
2023-09-08 07:34:55 -04:00
mworzala
4ba9d98864
hollow-cube/respectful-chunk-sending
(cherry picked from commit 9f3ee89506)
2023-09-08 07:34:55 -04:00
iam
64da34cdc0
enable light parity test (#22)
(cherry picked from commit 54850b0c74)
2023-09-08 07:34:54 -04:00
mworzala
93ad40f15f
hollow-cube/block-interact-ack-fix
(cherry picked from commit 1f1a2bf196)
2023-09-08 07:34:54 -04:00
Matt Worzala
c20a28ccfc
hollow-cube/1.20
* initial 1.20 support

* test fixes

* anvil 1.20, 1.20.1

(cherry picked from commit 716f32972a)
2023-09-08 07:34:54 -04:00
Matt Worzala
5aa466b937
hollow-cube/placement-rule-improvement
* improve placement rule api and remove existing vanilla rules

* readme changes

(cherry picked from commit b0b640ccd7)
2023-09-08 07:34:54 -04:00
mworzala
c4e5e1bae6
oopsie woopsie
(cherry picked from commit 197371a35e)
2023-09-08 07:34:54 -04:00
mworzala
84f71c755b
iam fix to lighting
(cherry picked from commit 8ff6339365)
2023-09-08 07:34:54 -04:00
mworzala
b66dd3a702
fix 1.19.4 text display text opacity type
(cherry picked from commit e142a55f51)
2023-09-08 07:34:53 -04:00
iam
a032599aad
More aggressive lighting delay, resend neighbour lighting data after chunk generation (#16)
(cherry picked from commit 9c6cb1796c)
2023-09-08 07:34:53 -04:00
iam4722202468
13d20676e8
Fix flexible palette out of bounds
(cherry picked from commit 5afce81de5)
2023-09-08 07:34:53 -04:00
iam
c86267c516
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)
2023-09-08 07:34:53 -04:00
Matt Worzala
8a56d147f3
hollow-cube/1.19.4_2 (#14)
* oopsie woopsie

* use double vector

* fix `minecraft:time` argument min property

(cherry picked from commit 6f11e42d46)
2023-09-08 07:34:53 -04:00
Matt Worzala
cc6ff539f0
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)
2023-09-08 07:34:52 -04:00
Huynh Tien
139ef70bf7
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)
2023-09-08 07:34:52 -04:00
Matt Worzala
b9ce7e4806
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)
2023-09-08 07:34:52 -04:00
emortaldev
b09afd6f60
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)
2023-09-08 07:34:52 -04:00
mworzala
9713255976
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)
2023-09-08 07:34:52 -04:00
mworzala
4f13ac5ee8
hollow-cube/multiple-event-node-parents
Signed-off-by: mworzala <mattheworzala@gmail.com>

add `minestom.event.multiple-parents`

(cherry picked from commit 26b79904a6fcbce2459d12ae8165d47dd2c8f1b3)

(cherry picked from commit 560b5cb52d)
2023-09-08 07:34:52 -04:00
mworzala
2b9b8981e7
hollow-cube/tag-transient
Signed-off-by: mworzala <mattheworzala@gmail.com>

allow null tag entries

(cherry picked from commit 0a57fd346bcb8bb966f866b6943fb2e57845c110)

allow null tag entries

(cherry picked from commit 3ef62831603163c2ac13432e3f2dd8ffebfb5fef)

add Tag.Transient

(cherry picked from commit 9fbbe563c2dce1418a66d2ed8695a4309807c084)

(cherry picked from commit 207b658bcd)
2023-09-08 07:34:51 -04:00
mworzala
9cb4e34955
hollow-cube/custom-component-translator
Signed-off-by: mworzala <mattheworzala@gmail.com>

Allow custom component translator implementation

(cherry picked from commit 31fd6317ad4f514cd2fad11221607d401fdbae0a)
(cherry picked from commit d40e85dedb)
2023-09-08 07:34:51 -04:00
mworzala
11e184874e
hollow-cube/entity-get-instance-unknown-nullability
Signed-off-by: mworzala <mattheworzala@gmail.com>

Entity#getInstance to @UnknownNullability

(cherry picked from commit 35fc7a1127b2189515991bfdf0f7fd0dc92af09e)
(cherry picked from commit bc73a6cbf8)
2023-09-08 07:34:51 -04:00
mworzala
dd146dab41
hollow-cube/tick-thread-counter
Signed-off-by: mworzala <mattheworzala@gmail.com>

Add a tick counter in the current tick thread and a way to get the current tick thread.

(cherry picked from commit 65ff64658efef55ac04053dc653fff492cc38a55)
(cherry picked from commit 72a456eea8)
2023-09-08 07:34:51 -04:00
Spanner
2cdb3911b0
Prioritise errors by chain length, build subcommands first (fix #1934) (#1935)
* Fix empty command chain causing NullPointerException

* Add test for empty command input

* Add test for #1934; subcommand priority issue

* Fix ConversionNode; process subcommands first

* Fix command error priority, add test for literal suggestions

* Test for subcommand priority in graph tests
2023-09-07 08:58:34 -04:00
Spanner
3645d4311d
Fix empty command chain causing NullPointerException (#1931)
* Fix empty command chain causing NullPointerException

* Add test for empty command input
2023-09-01 17:14:18 -04:00
Spanner
2b8beadd3e
Rewrite CommandParserImpl recursively (fix #1327) (#1893)
* 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

* Fix `GraphImpl` causing syntax order issues
2023-08-31 09:11:17 +10:00
KrystilizeNevaDies
9f09e26cd8 fix typo 2023-08-29 10:04:50 +10:00
KrystilizeNevaDies
56a6cfc2fb Allow serialisation of empty nbt components 2023-08-29 10:01:30 +10:00
rad
99941e511c
add javadocs for BlockHandler#getBlockEntityTags() (#1930)
* add javadocs for getBlockEntityTags()

* Update BlockHandler.java
2023-08-28 11:34:22 +10:00
rad
4f7ff5b474
Update Hephaistos version (#1926) 2023-08-22 10:54:18 +10:00
GoldenStack
c5047b8037
Fix enchantment registry reading (#1902)
Signed-off-by: GoldenStack <goldenfire64yt@gmail.com>
2023-07-13 18:37:58 -04:00
Matt Worzala
824ae0a25b
Fix slow dimension changes (#1892)
* only send spawn point on dimension change
2023-07-04 18:02:13 -04:00
Hydrogen
954e8b3915
Add static to Query stop and isStarted methods (#1867) 2023-06-04 21:58:34 +10:00