53 lines
850 B
Java
53 lines
850 B
Java
package mods.tinker.tconstruct.entity;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
import net.minecraft.world.World;
|
|
|
|
import com.google.common.io.ByteArrayDataInput;
|
|
import com.google.common.io.ByteArrayDataOutput;
|
|
|
|
import cpw.mods.fml.common.registry.IEntityAdditionalSpawnData;
|
|
|
|
public class FakeBlockEntity extends Entity
|
|
implements IEntityAdditionalSpawnData
|
|
{
|
|
|
|
public FakeBlockEntity(World world)
|
|
{
|
|
super(world);
|
|
preventEntitySpawning = true;
|
|
}
|
|
|
|
@Override
|
|
protected void entityInit ()
|
|
{
|
|
|
|
}
|
|
|
|
@Override
|
|
public void writeSpawnData (ByteArrayDataOutput data)
|
|
{
|
|
|
|
}
|
|
|
|
@Override
|
|
public void readSpawnData (ByteArrayDataInput data)
|
|
{
|
|
|
|
}
|
|
|
|
@Override
|
|
protected void readEntityFromNBT (NBTTagCompound var1)
|
|
{
|
|
|
|
}
|
|
|
|
@Override
|
|
protected void writeEntityToNBT (NBTTagCompound var1)
|
|
{
|
|
|
|
}
|
|
|
|
}
|