Commit Graph

5355 Commits

Author SHA1 Message Date
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
mworzala
351000e2cb 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)
2024-02-09 14:27:43 -05:00
mworzala
e2b5fbd054 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)
2024-02-09 14:27:43 -05:00
mworzala
30650f9a29 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)
2024-02-09 14:27:43 -05:00
mworzala
0ccb26c7be 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)
2024-02-09 14:27:43 -05:00
mworzala
e2fdce0880 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)
2024-02-09 14:27:43 -05: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
TheMode
9b15acf4fa Inline array initialization
Signed-off-by: TheMode <themode@outlook.fr>
2023-05-27 15:36:06 +02:00
Tomáš Hůla
80f5db34a6
Fix boat steer NPE (#1854) 2023-05-21 14:10:12 -04:00
Codestech
cb3892255e
1.19.3 (#1851)
* 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)

* Cleanup

* Fix tests

* Fix tests round 2

* Cleanup round 2

* remove logback

* remove chatbound

* don't use magic numbers

* Fix formatting

* Unused imports

* Fix and add update display name packet test back

* Cleanup tests

* Bump minestom data

* Add ArgumentResource and ArgumentResourceOrTag

* Fix spacing

---------

Co-authored-by: themode <themode@outlook.fr>
Co-authored-by: KrystilizeNevaDies <tyreece@rozycki.family>
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
2023-05-21 17:51:13 +03:00
Tyreece Rozycki
e0427a36f3
Debug grid demo command (#1809) 2023-05-13 22:41:33 +10:00
Zak Shearman
a0929db8b0
Copy javadocs for PlayerBlockIteractEvent#setBlockingItemUse (#1814) 2023-05-13 22:41:02 +10:00
Zak Shearman
e160cbdecd
Fixes cat color (variant) metadata, adds frog meta (#1833)
* Add frog & cat meta types

* Rename Color -> Variant in CatMeta, use DyeColor
2023-05-13 22:39:33 +10:00
Not Flamgop
01ffec6614
Add Cancel and Finish digging events (#1846)
* Add Cancel and Finish digging events

* Add a function for setting the block which was dug in PlayerFinishDiggingEvent.java
2023-05-12 19:15:49 +10: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
Zak Shearman
85febebd09
Fix nullability for Player shoulder entity data (#1834) 2023-05-01 16:06:48 +03:00
iam
79ce9570ea
Allow event node handle to be garbage collected (#1835) 2023-04-23 13:07:40 +02:00
iam
8ad2c7701f
Fix physics not checking nearest block (#1815) 2023-04-03 22:08:49 +02:00
EpicPlayerA10
4f3c35ee87
Instance register and unregister events (#608)
* Added InstanceRegisterEvent and InstanceUnregisterEvent

* Add unit test
2023-03-31 07:35:24 +10:00
GreatWyrm
0b77fb805b
Add Death Location variable to Player and update Death Location on death (#1807)
* Add Death location variable to Player and update on death

* Add death location test

* Fix test
2023-03-29 21:03:36 -04:00
TogAr2
9abb3079f6
Fix item attributes not being read correctly (#1806) 2023-03-29 15:09:24 +02:00
Tomáš Hůla
ec8034750a
Fix method javadoc (#1802)
* FIx Point#sameBlock(Point) javadoc

* Fix grammar of Point's methods javadocs
2023-03-25 19:35:33 -04:00
Alexander
c496ee3572
Update to JoinGamePacket and RespawnPacket (#1640)
* Add death location support to JoinGamePacket
2023-03-21 23:22:24 -04:00