mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 10:34:40 +00:00
EC2 deprecation: Part 2 - Blocks
This commit is contained in:
1 parent
72bd124684
commit
256a038ec7
1 file changed
+14
-1
@@ -1,4 +1,17 @@
|
||||
package com.glodblock.github.crossmod.extracells;
|
||||
|
||||
public class EC2TileEntity {
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public abstract class EC2TileEntity<T extends TileEntity> extends TileEntity {
|
||||
|
||||
private Object oldTile;
|
||||
private Class<? extends TileEntity> newTile;
|
||||
public EC2TileEntity(String name, T oldTE, Class<? extends TileEntity> newTE) {
|
||||
this.oldTile = oldTE;
|
||||
this.newTile = newTE;
|
||||
}
|
||||
|
||||
abstract TileEntity remap();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user