mirror of
https://github.com/LegacyModdingMC/ChunkAPI.git
synced 2026-11-18 19:29:12 +00:00
block packet API
This commit is contained in:
15 files changed
+482
-18
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package com.falsepattern.chunk.internal.impl;
|
||||
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
|
||||
public interface CustomPacketBlockChange {
|
||||
void chunkapi$init(int x, int y, int z, Chunk chunk);
|
||||
void chunkapi$x(int value);
|
||||
void chunkapi$y(int value);
|
||||
void chunkapi$z(int value);
|
||||
int chunkapi$x();
|
||||
int chunkapi$y();
|
||||
int chunkapi$z();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.falsepattern.chunk.internal.impl;
|
||||
|
||||
import net.minecraft.network.play.server.S23PacketBlockChange;
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
|
||||
public interface CustomPacketMultiBlockChange {
|
||||
void chunkapi$init(int count, short[] crammedPositions, Chunk chunk);
|
||||
S23PacketBlockChange[] chunkapi$subPackets();
|
||||
}
|
||||
Reference in new issue
Block a user