From 9c4411166599fd80c711d95e8869136e00f58901 Mon Sep 17 00:00:00 2001 From: temp1011 <34900092+temp1011@users.noreply.github.com> Date: Fri, 23 Mar 2018 22:18:37 +0000 Subject: [PATCH] Remove Chisel Plugin --- .../forestry/modules/ForestryModuleUids.java | 1 - .../java/forestry/plugins/PluginChisel.java | 55 ------------------- 2 files changed, 56 deletions(-) delete mode 100644 src/main/java/forestry/plugins/PluginChisel.java diff --git a/src/main/java/forestry/modules/ForestryModuleUids.java b/src/main/java/forestry/modules/ForestryModuleUids.java index 8ab36bb30..b926d0a2b 100644 --- a/src/main/java/forestry/modules/ForestryModuleUids.java +++ b/src/main/java/forestry/modules/ForestryModuleUids.java @@ -27,7 +27,6 @@ public class ForestryModuleUids { public static final String BUILDCRAFT_RECIPES = "buildcraft.recipes"; public static final String BUILDCRAFT_STATEMENTS = "buildcraft.statements"; public static final String BUILDCRAFT_TRANSPORT = "buildcraft.transport"; - public static final String CHISEL = "chisel"; public static final String ENDER_IO = "ender.io"; public static final String EXTRA_UTILITIES = "extra.utilities"; public static final String NATURA = "natura"; diff --git a/src/main/java/forestry/plugins/PluginChisel.java b/src/main/java/forestry/plugins/PluginChisel.java deleted file mode 100644 index 26577e9cb..000000000 --- a/src/main/java/forestry/plugins/PluginChisel.java +++ /dev/null @@ -1,55 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2011-2014 SirSengir. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the GNU Lesser Public License v3 - * which accompanies this distribution, and is available at - * http://www.gnu.org/licenses/lgpl-3.0.txt - * - * Various Contributors including, but not limited to: - * SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges - ******************************************************************************/ -package forestry.plugins; - -import com.google.common.collect.ImmutableList; - -import net.minecraftforge.fml.common.event.FMLInterModComms; - -import forestry.api.modules.ForestryModule; -import forestry.api.storage.BackpackManager; -import forestry.core.config.Constants; -import forestry.core.utils.ModUtil; -import forestry.modules.BlankForestryModule; -import forestry.modules.ForestryModuleUids; - -@ForestryModule(containerID = ForestryCompatPlugins.ID, moduleID = ForestryModuleUids.CHISEL, name = "Chisel", author = "Nirek", url = Constants.URL, unlocalizedDescription = "for.module.chisel.description") -public class PluginChisel extends BlankForestryModule { - - private static final String Chisel = "chisel"; - - @Override - public boolean isAvailable() { - return ModUtil.isModLoaded(Chisel); - } - - @Override - public String getFailMessage() { - return "Chisel not found"; - } - - @Override - public void registerRecipes() { - - ImmutableList worldgenBlocks = ImmutableList.of( - "granite", - "limestone", - "marble", - "andesite", - "diorite" - ); - for (String wBlocks : worldgenBlocks) { - String message = String.format("%s@%s:%s", BackpackManager.DIGGER_UID, Chisel, wBlocks); - FMLInterModComms.sendMessage(Constants.MOD_ID, "add-backpack-items", message); - } - - } -}