diff --git a/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java b/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java index 7d85f96..a75cb94 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/WireMod.java @@ -4,6 +4,8 @@ import net.brokenmoon.afloydwiremod.item.ToolWiring; import net.brokenmoon.afloydwiremod.tile.ChipTile; import net.brokenmoon.afloydwiremod.item.ToolProgrammer; import net.brokenmoon.afloydwiremod.tile.RedstoneLinkTile; +import net.brokenmoon.afloydwiremod.tileentity.ChipTileEntity; +import net.brokenmoon.afloydwiremod.tileentity.RedstoneLinkTileEntity; import net.fabricmc.api.ModInitializer; import net.minecraft.src.Block; import net.minecraft.src.Item; @@ -11,6 +13,7 @@ import net.minecraft.src.Material; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import turniplabs.halplibe.helper.BlockHelper; +import turniplabs.halplibe.helper.EntityHelper; import turniplabs.halplibe.helper.ItemHelper; @@ -29,6 +32,8 @@ public class WireMod implements ModInitializer { @Override public void onInitialize() { LOGGER.info("WireMod initialized."); - LinkTileInactive.notInCreativeMenu = true; + LinkTileActive.notInCreativeMenu = true; + EntityHelper.createTileEntity(ChipTileEntity.class, "Chip"); + EntityHelper.createTileEntity(RedstoneLinkTileEntity.class, "Redstone Link"); } }