Main class: Register TileEntity
parent
397d66ce54
commit
32610cf937
|
@ -1,12 +1,14 @@
|
||||||
package lostcave.deathchests;
|
package lostcave.deathchests;
|
||||||
|
|
||||||
import lostcave.deathchests.block.BlockDeathChest;
|
import lostcave.deathchests.block.BlockDeathChest;
|
||||||
|
import lostcave.deathchests.block.BlockDeathChest.TileDeathChest;
|
||||||
import lostcave.deathchests.item.ItemObituary;
|
import lostcave.deathchests.item.ItemObituary;
|
||||||
import lostcave.deathchests.util.Config;
|
import lostcave.deathchests.util.Config;
|
||||||
import lostcave.deathchests.util.DeathChestStorage;
|
import lostcave.deathchests.util.DeathChestStorage;
|
||||||
import lostcave.deathchests.util.Debug;
|
import lostcave.deathchests.util.Debug;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraftforge.common.DimensionManager;
|
import net.minecraftforge.common.DimensionManager;
|
||||||
import net.minecraftforge.common.MinecraftForge;
|
import net.minecraftforge.common.MinecraftForge;
|
||||||
|
|
||||||
|
@ -67,6 +69,7 @@ public class DeathChests {
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void init(FMLPostInitializationEvent event) {
|
public void init(FMLPostInitializationEvent event) {
|
||||||
Debug.out("Received FMLPostInitializationEvent");
|
Debug.out("Received FMLPostInitializationEvent");
|
||||||
|
TileEntity.addMapping(TileDeathChest.class, "death_chest");
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
|
|
Loading…
Reference in New Issue