* 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>
* 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>
* 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>
* 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>
* 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>
* 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
* 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>
Signed-off-by: mworzala <mattheworzala@gmail.com>
make some loggers private
(cherry picked from commit 03ff6dca3493646098bf194ebd19aadf90ecf800)
add slf4j dep to codegen module
(cherry picked from commit b9136e3e579e98a0567e7ecf838c72ff5c159858)
add back slf4j dep
(cherry picked from commit 174c5b8b6a3223310e250fb5dad48b179b101fe5)
remove tinylog and MinestomTerminal
(cherry picked from commit 352161c326fe2dbb5989e5a45571c76795407ff5)
* chore(Inventory): Fixed generated window id sometimes becomes 0 or -128(out of int) which causes empty inventories.
* chore(InventoryTest): Updated inventory window id creation test.
* chore(InventoryTest): Updated inventory window id creation test. (iam's suggestion.)
* chore(Inventory): Updated inventory window id generation that is more thread safe compare to the old one. (iam's suggestion)
* chore(InventoryTest): int window id to byte.
* Implement some Adventure methods into ConsoleSender
* Remove getUuid from CommandSender/ConsoleSender
* rebase and review fixes
Co-authored-by: mworzala <mattheworzala@gmail.com>