mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Use separate threads for decryption and decompression
This commit is contained in:
parent
c941d086d9
commit
1a90b6d942
8 changed files with 47 additions and 37 deletions
|
|
@ -55,7 +55,7 @@ namespace MinecraftClient.Mapping
|
|||
/// <param name="blockX">Location of the block into the chunk</param>
|
||||
/// <param name="blockY">Location of the block into the world</param>
|
||||
/// <param name="blockZ">Location of the block into the chunk</param>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public Location(int chunkX, int chunkZ, int blockX, int blockY, int blockZ)
|
||||
{
|
||||
X = chunkX * Chunk.SizeX + blockX;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue