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:
parent
0b1997a9e6
commit
6f89cf54b8
1 changed files with 0 additions and 28 deletions
|
@ -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;
|
|
||||||
}
|
|
Loading…
Reference in a new issue