Commit graph

2251 commits

Author SHA1 Message Date
Camotoy
0438aa4709
Comment change in map data translator 2021-09-26 20:54:03 -04:00
David Choo
9a8795988f
Movement checks (#2547)
This avoids ArrayList allocations and https://github.com/GeyserMC/Geyser/issues/2540.
2021-09-26 10:16:22 -04:00
Camotoy
6f4d433561
We don't need to store each individual RGB color for maps 2021-09-25 15:02:08 -04:00
Camotoy
67c93dcc8c
Add new map colors
Also fix our map colors, which appear to in fact be RGB for both Java and Bedrock.

Fixes #2468
2021-09-25 14:56:37 -04:00
Tim203
e8ddac64b4
Merge remote-tracking branch 'origin/feature/floodgate-transfer-players' 2021-09-24 20:38:03 +02:00
Camotoy
f6313dd0ac
Use old MCProtocolLib, etc. commits for now
While we work out the kinks!
2021-09-23 17:53:57 -04:00
Camotoy
85a5762364
Don't allow blank messages to be sent
Fixes #2546
2021-09-23 17:52:22 -04:00
Camotoy
27a17ff183
Fix firework stars being unobtainable from the creative menu 2021-09-22 19:27:49 -04:00
Camotoy
82bb6ad61f
Fix furnace minecart custom item for 1.17.30 2021-09-22 15:11:14 -04:00
Camotoy
94af039f71
Just deploy connector 2021-09-22 13:54:17 -04:00
Camotoy
9f95178b58
Return to main develop branch of Protocol 2021-09-22 13:43:06 -04:00
Camotoy
f1d702b78a
Fully re-enable deploying 2021-09-22 13:24:44 -04:00
Camotoy
c9b6d945d2
Another attempt to get some deploying down 2021-09-22 10:17:11 -04:00
Camotoy
3d473a4939
Temporarily remove Javadoc jar too I guess 2021-09-22 09:03:42 -04:00
Camotoy
2ee9df7ed9
Just deploy connector while something is borked for the other projects 2021-09-22 08:56:47 -04:00
Camotoy
c28364c5dd
Prevent large ArrayLists from growing on collision checks
See #2540 - not confirmed to be resolved as we weren't able to replicate a cause for this issue but this solved the issue from artifically invoking it.
2021-09-21 21:06:07 -04:00
Camotoy
d5c37e927b
Fix item frames on 1.17.30 2021-09-21 16:50:06 -04:00
Camotoy
e0ae4c1b85
Fix disconnect message formatting 2021-09-21 14:58:35 -04:00
Camotoy
22b962731c
Implement proper non-sound particle for turtle eggs 2021-09-21 14:04:11 -04:00
Redned
65ac6b74a2
1.17.30 is now supported 2021-09-21 11:25:41 -05:00
RednedEpic
fdca9f9be6 Add support for 1.17.30 (v465) 2021-09-19 14:20:42 -05:00
Camotoy
58e00b2645
Add more sanity checks for shulker boxes
Also properly implements reading byte tags from Java Edition.
2021-09-18 10:35:49 -04:00
Camotoy
4b05b74a9a
Velocity: only initialize injector on Minecraft listener bound 2021-09-17 22:04:29 -04:00
Camotoy
0537c04ef6
Handle invalid enchantment NBT
Fixes #2117
2021-09-14 11:18:26 -04:00
TheFloyds4240
e13643d040
Update config.yml (#2522) 2021-09-12 14:32:58 -05:00
Camotoy
4ecdcbb7c3
Preface Spigot injector messages with a warning 2021-09-10 21:18:24 -04:00
Camotoy
4196402105
Indicate when the en_US jar has finished downloading 2021-09-10 21:12:12 -04:00
Camotoy
c763939452
Use set for sticky pistons 2021-09-10 16:36:56 -04:00
Camotoy
3632ebda8b
Prevent concurrency issues with SkinProvider#requestedSkins
There is a small potential here to return null if containsKey runs before remove and then get is called.
2021-09-10 16:32:09 -04:00
Camotoy
b69cc8eba5
Remove 1.17.10 from supported Bedrock versions in README 2021-09-10 16:31:36 -04:00
Camotoy
f32e4725b8
Update world border in constructor
Prevents us from thinking the player is in the border before we get the packet.
2021-09-10 15:03:43 -04:00
Camotoy
9136e4b591
Remove deploying for now; fix LecternHasBookMap offset issue 2021-09-10 14:53:02 -04:00
Tim203
02ac69591f
Should fix deploying 2021-09-10 20:46:58 +02:00
Camotoy
bc0cfde8f9
Set the minimum Java version to 16; drop Bedrock 1.17.0 (#2477) 2021-09-10 14:10:56 -04:00
Camotoy
93f5298ee3
Introduce specialized maps for block state operations
By introducing fixed maps, we are able to reduce the overhead of needing to store arbitrary numbers; fixed maps start at one number and must be sequential. This commit also reduces some overhead of lecterns in block updating as we are able to utilize our own maps to reduce object boxing and removing the function of Map#compute of trying to re-insert a value.
2021-09-09 21:33:48 -04:00
Camotoy
f22d286ea1
Add world border translation (#1839)
As Bedrock does not have world border support, this PR translates what the Java server sends us for a world border into particles and fog, while also preventing the Bedrock client from moving outside of the world border.

Co-authored-by: Luke <32024335+lukeeey@users.noreply.github.com>
Co-authored-by: ofunny <play@ofunny.world>
2021-09-09 21:27:38 -04:00
David Choo
8461cf76b7
Smooth Pistons (#1542)
With proper piston collision for players as well.
2021-09-09 21:20:25 -04:00
Tim203
a1bdf6dbda
Implemented Floodgate's player transfer plugin message 2021-09-10 01:42:05 +02:00
Camotoy
1199d50338
Allow single quotes to appear in translations in chat 2021-09-08 19:24:30 -04:00
Camotoy
6dd4629fcd
Utilize multiple threads for Bedrock networking if possible 2021-09-08 13:59:32 -04:00
Camotoy
52ad5c37ee
Uncomment MTU in config
It doesn't change anything if uncommented and just serves to confuse people.
2021-09-08 13:46:46 -04:00
Camotoy
95ba2a10ad
Properly error if Microsoft authentication sends an error 2021-09-08 10:13:46 -04:00
Camotoy
d602d820dd
Re-use patterns in MinecraftTranslationRegistry 2021-09-07 11:56:23 -04:00
Redned
c1e66f306c Play sound when totem is used 2021-09-04 13:52:02 -05:00
Redned
9f77d47f14 Set int array directly for BlockMappings and change naming 2021-09-04 12:45:32 -05:00
Redned
64b0788012 Use an array for java blocks and replace rarely used map in BlockMappings 2021-09-04 12:36:09 -05:00
Camotoy
206368e448
JavaExplosionTranslator: clean up vector usage 2021-09-02 19:42:50 -04:00
Luke
3be9a76222
Remove FUNDING.yml as it's not available organization-wide 2021-09-01 15:33:01 +01:00
Camotoy
0069566803
Dependency update; re-use Thread.MAX_PRIORITY for Spigot; other network optimizations 2021-08-31 19:57:56 -04:00
Camotoy
7fe7dc1d70
Remove debug code 2021-08-31 19:52:10 -04:00