Set wrong one to not show up in creative

visibileWires
Astoria 2 years ago
parent 41366b2683
commit 36f93b073e

@ -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");
}
}

Loading…
Cancel
Save