Removed multi part content
This commit is contained in:
parent
14f5f62bfc
commit
5418d6c015
1 changed files with 0 additions and 37 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue