Allow the Grinder to attack Ender Dragons (#26)

* Update buildscript

* Allow the Grander to kill Ender Dragons

* Apply spotless
This commit is contained in:
glowredman authored and GitHub committed 2022-08-09 01:25:35 +04:00
1 parent 8c9161dc83
commit 5b110be984
326 files changed
+14641 -7821

No files matched your search

@@ -15,11 +15,15 @@ import cpw.mods.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.enchantment.Enchantment;
@Mod(modid = References.MODID, name = References.MODNAME, version = References.VERSION, canBeDeactivated = false, guiFactory = References.GUIFACTORY,
dependencies = "after:NotEnoughItems;" +
"after:ThermalExpansion;" +
"after:ThermalFoundation;" +
"required-after:BrandonsCore@[1.0.0.11,);")
@Mod(
modid = References.MODID,
name = References.MODNAME,
version = References.VERSION,
canBeDeactivated = false,
guiFactory = References.GUIFACTORY,
dependencies = "after:NotEnoughItems;" + "after:ThermalExpansion;"
+ "after:ThermalFoundation;"
+ "required-after:BrandonsCore@[1.0.0.11,);")
public class DraconicEvolution {
@Mod.Instance(References.MODID)
@@ -28,13 +32,15 @@ public class DraconicEvolution {
@SidedProxy(clientSide = References.CLIENTPROXYLOCATION, serverSide = References.SERVERPROXYLOCATION)
public static CommonProxy proxy;
public static CreativeTabs tabToolsWeapons = new DETab(CreativeTabs.getNextID(), References.MODID, "toolsAndWeapons", 0);
public static CreativeTabs tabBlocksItems = new DETab(CreativeTabs.getNextID(), References.MODID, "blocksAndItems", 1);
public static CreativeTabs tabToolsWeapons =
new DETab(CreativeTabs.getNextID(), References.MODID, "toolsAndWeapons", 0);
public static CreativeTabs tabBlocksItems =
new DETab(CreativeTabs.getNextID(), References.MODID, "blocksAndItems", 1);
public static final String networkChannelName = "DEvolutionNC";
public static SimpleNetworkWrapper network;
public static boolean debug = false;//todo
public static boolean debug = false; // todo
public static Enchantment reaperEnchant;
@@ -46,16 +52,15 @@ public class DraconicEvolution {
public static void preInit(final FMLPreInitializationEvent event) {
if (debug) LogHelper.info("Initialization");
// event.getModMetadata().autogenerated = false;
// event.getModMetadata().credits = "";
// event.getModMetadata().description = "This is a mod originally made for the Tolkiencraft mod pack";
// event.getModMetadata().authorList = Arrays.asList("brandon3055");
// event.getModMetadata().logoFile = "banner.png";
// event.getModMetadata().url = "http://www.brandon3055.com/";
// event.getModMetadata().version = References.VERSION + "-MC1.7.10";
// event.getModMetadata().autogenerated = false;
// event.getModMetadata().credits = "";
// event.getModMetadata().description = "This is a mod originally made for the Tolkiencraft mod pack";
// event.getModMetadata().authorList = Arrays.asList("brandon3055");
// event.getModMetadata().logoFile = "banner.png";
// event.getModMetadata().url = "http://www.brandon3055.com/";
// event.getModMetadata().version = References.VERSION + "-MC1.7.10";
proxy.preInit(event);
}
@Mod.EventHandler
@@ -75,7 +80,7 @@ public class DraconicEvolution {
proxy.postInit(event);
}
//FMLInterModComms.sendMessage("DraconicEvolution", "addChestRecipe:item.coal", new ItemStack(Items.diamond, 2));
// FMLInterModComms.sendMessage("DraconicEvolution", "addChestRecipe:item.coal", new ItemStack(Items.diamond, 2));
@Mod.EventHandler
public void processMessage(FMLInterModComms.IMCEvent event) {
for (FMLInterModComms.IMCMessage m : event.getMessages()) {
@@ -87,4 +92,4 @@ public class DraconicEvolution {
}
}
}
}
}