Commit Graph

5326 Commits

Author SHA1 Message Date
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
Matt Worzala
bbffbabe9f
Merge branch 'Minestom:master' into main 2023-05-11 21:31:15 +03:00
Hydrogen
2c3e38b178
Null verifier wildcard fix (#1849)
* fix hasPermission(String, PermissionVerifier) Behavior

* add test cases
2023-05-10 08:51:06 +10:00
Hydrogen
1d6ff874f8
Add permissions wildcard support to no-verifier hasPermission (#1319)
* Add permission wildcard support to no-verifier hasPermission

* add one more assertion

* check permissionLoop NOT permission

* Add all permissions wildcard test

* Add proper pattern matching with tests

* Sanitize regex

* Clean up code

* Add to other hasPermission method aswell
2023-05-09 22:43:44 +10:00
Huynh Tien
d411c271cf
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>
2023-05-07 13:10:50 +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
Zak Shearman
6524476a81
hollow-cube/fix-frog-cat-meta (#7)
* Add frog & cat meta types

* Rename Color -> Variant in CatMeta, use DyeColor
2023-05-06 22:00:31 +03:00
emortaldev
4e0bc47429
hollow-cube/distance-squared-optimization
* Use distance squared where possible

* Update EntityFinder.java

* Update FollowTargetGoal.java

* Consistent methods for squared
2023-05-06 21:31:14 +03:00
mworzala
c8362a7d2c
hollow-cube/command-virtual-execution 2023-05-06 09:29:26 +03:00