Commit graph

2321 commits

Author SHA1 Message Date
Camotoy
27ce6c4b36
Annotation processors use Java 16
So build stops complaining about it.
2021-11-19 14:55:54 -05:00
Camotoy
e0a7887f3f
Entity refactor bug fixes and other 1.18 changes 2021-11-18 20:44:03 -05:00
Camotoy
11997ed82b
Entity refactory aaaaaaAAAAAAA 2021-11-17 22:02:38 -05:00
YHDiamond
b92b49b5e4
Handle a string possibly being null (#2638)
An NPE can be thrown if message is null and `message.isBlank()` is called.
2021-11-17 21:42:54 -05:00
Camotoy
951b616f98
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.18 2021-11-14 20:31:31 -05:00
David Choo
581c24f2e9
Fix some anvil level cost situations (#2578) 2021-11-14 20:15:25 -05:00
Camotoy
badee15c46
Implement V0 bits-per-block for Bedrock
This also improves sending empty chunks by having an empty BlockStorage array.

The empty biome data has shrunk from 32k bytes to 65.

With thanks to @dktapps.
2021-11-14 17:59:14 -05:00
Camotoy
61f20217a9
Fix some block entity inconsistencies 2021-11-14 13:52:48 -05:00
Camotoy
6249292903
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.18 2021-11-14 13:38:22 -05:00
Camotoy
98ee3880b0
Remove unnecessary Getter annotation 2021-11-14 13:38:19 -05:00
Camotoy
15f26999dd
Update to new block entity changes 2021-11-14 12:06:07 -05:00
RednedEpic
4bbea1de68 Merge across 1.18 protocol changes 2021-11-13 23:36:43 -06:00
RednedEpic
e5869c00d6 Update to new renames in MCProtocolLib 2021-11-13 23:07:24 -06:00
Camotoy
363171b80c
Add BungeeCommandExecutor random changes and remove completed TODO 2021-11-13 23:52:11 -05:00
Camotoy
6b012778d8
Initial update to 1.18 protocol 2021-11-13 23:49:31 -05:00
Camotoy
393c2b0f91
Handle chunks on the player thread 2021-11-13 11:04:12 -05:00
Camotoy
59e6fc0285
Properly name ClientboundPingPacket translator 2021-11-12 23:03:24 -05:00
Camotoy
84ae28f2c2
Update translator class names to match Mojang mappings 2021-11-12 23:01:45 -05:00
Camotoy
768b09e7fd
Update to latest MCProtocolLib with Mojang mappings 2021-11-12 22:44:15 -05:00
David Choo
adbadbbba4
Prevent blocks destroyed by pistons from moving on Geyser-Spigot (#2627) 2021-11-12 20:36:01 -05:00
Camotoy
5d58394bc0
Move all PacketLib local channel classes to Geyser 2021-11-12 11:25:15 -05:00
Camotoy
dc5edc0a2c
Remove 1.17.10 support; extended world height is always enabled 2021-11-12 09:42:35 -05:00
Camotoy
09e3793fb2
Refactor GeyserSession tracking for better concurrency 2021-11-12 09:02:14 -05:00
Camotoy
62cded2daf
Allow Geyser-BungeeCord to continue working after /greload
We won't support reloading (neither does BungeeCord nor Waterfall), but at least Geyser will continue working after such a command is performed.
2021-11-09 11:44:28 -05:00
Camotoy
0274296366
Don't show the debug stick in the creative menu
It currently doesn't have a texture, and Java Edition doesn't have the debug stick in its menu.
2021-11-08 08:33:16 -05:00
Tim203
c18404cb52
Updated to global api v2 2021-11-07 15:42:55 +01:00
Konicai
0b35449fb7
update submodules (#2615) 2021-11-04 13:54:50 -04:00
Camotoy
6cda15cb8d
Check if bucket sounds should be played in adventure mode
Fixes #2608
2021-11-01 21:49:20 -04:00
HeroCC
6da6636a98
Remove broken HitCounter from README.md (#2583) 2021-11-01 11:26:08 -05:00
Camotoy
96cbc54334
Update to Adventure 4.9.3 2021-10-31 15:04:04 -04:00
Konicai
1929a5be83
Fix help command (#2604)
* Always pass session to execute() if the sender is a geyser player

* cleanup
2021-10-31 00:22:41 -05:00
Konicai
eb211884de
Add client option to hide custom skulls (#2603) 2021-10-30 22:22:04 -05:00
Konicai
f883dfdf2c
Remove commands from autocomplete/help list that cannot be run (#2602)
* only tabcomplete for commands the sender has permission for

* set permission defaults for spigot

* Make velocity autocomplete on arg length 0 and 1

* fix advancements perm in spigot plugin.yml and add settings perm

(whoops)

* don't show bedrock commands to java players

* modify spigot perm defaults

* censor help menu, abstract tab complete code

* Bedrock players don't get cmd argument suggestions

* update spigot plugin.yml
2021-10-30 20:57:54 -05:00
Camotoy
c115afba85
Add exception handling to the scoreboard updater 2021-10-30 20:47:49 -04:00
Camotoy
1316f6e1da
Don't use Jitpack but instead a static snapshot 2021-10-29 11:18:32 -04:00
Camotoy
362a21a4b1
Use Jitpack for Adventure to fix boolean string serialization
Fixes #2596
2021-10-29 10:59:59 -04:00
Redned
a257211b01
Update README to reflect we support 1.17.41 2021-10-28 18:49:58 -05:00
Camotoy
9a159bf8be Fix instances of invisible/flickering scoreboards 2021-10-22 23:31:40 -04:00
Camotoy
a7aa255784
Include more vendor information and flags in Geyser dump 2021-10-20 21:38:08 -04:00
Camotoy
0e06a79e5f
Temporary workaround to fix null issue with components 2021-10-20 18:42:02 -04:00
Tim203
6cbbf8a8dd
A DisplayScoreboard packet should also cause the scoreboard to update 2021-10-20 21:08:25 +02:00
Tim203
582da8b88a
Only check the TeamColor of active objectives 2021-10-20 12:53:09 +02:00
Camotoy
483a336b8a
Fix grindstones and looms on 1.17.40 2021-10-19 13:16:46 -04:00
Camotoy
9de26f2ba1
Play thunder sounds when a lightning entity is spawned
Fixes #2580
2021-10-18 12:58:43 -04:00
RednedEpic
501183b918 Add support for 1.17.40 (v471) 2021-10-17 19:24:27 -05:00
Jens Collaert
7454033277
Register /geyser stop only on standalone (#2569)
We don't want to condone stopping Geyser in the middle of a plugin session, especially when there's no way to start it back up again.
2021-10-13 13:09:19 -04:00
Camotoy
52ef3d392a
Convert ChunkUtils.ChunkData into a record 2021-10-11 21:21:21 -04:00
Camotoy
682e4b3edd
Potion -> Effect from the last commit 2021-10-11 21:16:17 -04:00
Camotoy
02387dc6e2
Fix all blocks not appearing in /setblock; show effect suggestions in commands 2021-10-11 21:14:06 -04:00
Camotoy
265c42fe09
Ignore all entity metadata for player names
The Java client ignores this; only the GameProfile of the player can set this.

Fixes #2563
2021-10-10 14:54:06 -04:00