mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 15:46:01 +00:00
Alright, almost done with network changes (63 errors!)
This commit is contained in:
1 parent
84055986d0
commit
659b963af6
90 files changed
+413
-475
No files matched your search
@@ -1,8 +1,8 @@
|
||||
package mekanism.common;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* Internal interface used for blocks that send data between clients and the server
|
||||
@@ -12,13 +12,13 @@ import com.google.common.io.ByteArrayDataInput;
|
||||
public interface ITileNetwork
|
||||
{
|
||||
/**
|
||||
* Receive and manage a data input.
|
||||
* Receive and manage a packet's data.
|
||||
* @param network
|
||||
* @param packet
|
||||
* @param player
|
||||
* @param dataStream
|
||||
*/
|
||||
public void handlePacketData(ByteArrayDataInput dataStream) throws Exception;
|
||||
public void handlePacketData(ByteBuf dataStream) throws Exception;
|
||||
|
||||
/**
|
||||
* Gets an ArrayList of data this tile entity keeps synchronized with the client.
|
||||
|
||||
Reference in new issue
Block a user