mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 12:20:11 +00:00
Removed deprecated ISpawnHandler, that never worked in 1.3.2 so noone should be using it. See FML's replacement.
This commit is contained in:
1 parent
0b1997a9e6
commit
6f89cf54b8
1 file changed
-28
@@ -1,28 +0,0 @@
|
||||
package net.minecraftforge.common;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
* A interface for Entities that need extra information to be communicated
|
||||
* between the server and client when they are spawned.
|
||||
*/
|
||||
public interface ISpawnHandler
|
||||
{
|
||||
/**
|
||||
* Called by the server when constructing the spawn packet.
|
||||
* Data should be added to the provided stream.
|
||||
*
|
||||
* @param data The packet data stream
|
||||
*/
|
||||
public void writeSpawnData(DataOutputStream data) throws IOException;
|
||||
|
||||
/**
|
||||
* Called by the client when it receives a Entity spawn packet.
|
||||
* Data should be read out of the stream in the same way as it was written.
|
||||
*
|
||||
* @param data The packet data stream
|
||||
*/
|
||||
public void readSpawnData(DataInputStream data) throws IOException;
|
||||
}
|
||||
Reference in new issue
Block a user