Fixes #1368: Vibration Chamber notifies neighbors on inventory change and state change

This commit is contained in:
thatsIch
2015-05-01 09:49:00 +02:00
parent ee431b3269
commit e392ecd08d
8 changed files with 123 additions and 84 deletions
@@ -32,18 +32,18 @@ import cpw.mods.fml.relauncher.SideOnly;
import appeng.tile.AEBaseTile;
public class AETileEventHandler
public final class AETileEventHandler
{
private final Method method;
public AETileEventHandler( Method m, TileEventType which )
public AETileEventHandler( Method method )
{
this.method = m;
this.method = method;
}
// TICK
public void Tick( AEBaseTile tile )
public void tick( AEBaseTile tile )
{
try
{
@@ -25,5 +25,10 @@ public enum TileEventType
WORLD_NBT_READ, WORLD_NBT_WRITE,
NETWORK_READ, NETWORK_WRITE
/**
* Methods annotated with this need to return a boolean
*/
NETWORK_READ,
NETWORK_WRITE
}