Removed multi part content

This commit is contained in:
Robert 2013-12-28 21:46:27 -05:00
parent 14f5f62bfc
commit 5418d6c015

View file

@ -1,37 +0,0 @@
package com.builtbroken.minecraft.multipart;
import net.minecraft.block.Block;
import codechicken.multipart.TMultiPart;
import codechicken.multipart.handler.MultipartProxy;
public abstract class PartAdvanced extends TMultiPart
{
protected long ticks = 0;
public void initiate()
{
}
@Override
public void update()
{
if (ticks == 0)
{
initiate();
}
if (ticks >= Long.MAX_VALUE)
{
ticks = 1;
}
ticks++;
}
@Override
public void onAdded()
{
world().notifyBlocksOfNeighborChange(x(), y(), z(), ((Block) MultipartProxy.block()).blockID);
}
}