This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
name = "forge" | |
url = "http://files.minecraftforge.net/maven" | |
} | |
maven { | |
name = "sonatype" | |
url = "https://oss.sonatype.org/content/repositories/snapshots/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static InsnList getPreOverlayInstructions() { | |
LabelNode start = new LabelNode(); | |
LabelNode exit = new LabelNode(); | |
LabelNode end = new LabelNode(); | |
InsnList insns = new InsnList(); | |
insns.add(start); | |
insns.add(new MethodInsnNode(INVOKESTATIC, "net/darkhax/wawla/WailaAddon", "preOverlayRendering", "()Z", false)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This method will take a string and break it down into multiple lines based on a provided | |
* line length. The separate strings are then added to the list provided. This method is | |
* useful for adding a long description to an item tool tip and having it wrap. This method | |
* is similar to wrap in Apache WordUtils however it uses a List making it easier to use | |
* when working with Minecraft. | |
* | |
* @param string: The string being split into multiple lines. It's recommended to use | |
* StatCollector.translateToLocal() for this so multiple languages will be | |
* supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[00:25:40] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker | |
[00:25:40] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker | |
[00:25:40] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker | |
[00:25:40] [main/INFO] [FML]: Forge Mod Loader version 7.99.16.1448 for Minecraft 1.7.10 loading | |
[00:25:40] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 10:amd64:10.0, installed at C:\Users\darkh\Documents\Curse\Minecraft\Install\runtime\jre-x64\1.8.0_25 | |
[00:25:40] [main/WARN] [FML]: The coremod aroma1997.core.coremod.CoreMod does not have a MCVersion annotation, it may cause issues with this version of Minecraft | |
[00:25:40] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft | |
[00:25:40] [main/WARN] [FML]: The coremod cofh.asm.LoadingPl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO 11/21/2015 7:41:03 AM] Initializing LWJGL library. Extracting natives. | |
[TRACE 11/21/2015 7:41:03 AM] | |
com.shc.silenceengine.core.SilenceException: java.nio.file.AccessDeniedException: C:\Users\darkh\AppData\Local\Temp\SilenceEngine5659533823849208242\glfw.dll | |
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) | |
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) | |
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) | |
at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) | |
at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source) | |
at java.nio.file.Files.deleteIfExists(Unknown Source) | |
at com.shc.silenceengine.io.FilePath.delete(FilePath.java:531) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (String argument : args) | |
if (argument.equalsIgnoreCase("-game.releaseMode")) | |
Game.DEVELOPMENT = false; | |
for (String argument : args) | |
if (argument.equalsIgnoreCase("-game.devMode")) | |
Game.DEVELOPMENT = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TRACE 11/21/2015 9:42:42 AM] | |
com.shc.silenceengine.core.SilenceException: java.lang.NullPointerException | |
at org.lwjgl.system.Checks.checkPointer(Checks.java:103) | |
at org.lwjgl.opengl.GL.createCapabilities(GL.java:273) | |
at org.lwjgl.opengl.GL.createCapabilities(GL.java:225) | |
at com.shc.silenceengine.core.glfw.Window.makeCurrent(Window.java:760) | |
at com.shc.silenceengine.core.ResourceLoader.asyncLoadResources(ResourceLoader.java:274) | |
at java.lang.Thread.run(Unknown Source) | |
at com.shc.silenceengine.core.SilenceException.reThrow(SilenceException.java:73) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.darkhax.test; | |
import com.shc.silenceengine.core.Display; | |
import com.shc.silenceengine.core.Game; | |
import com.shc.silenceengine.core.ResourceLoader; | |
import com.shc.silenceengine.core.ResourceLoader.IProgressRenderCallback; | |
import com.shc.silenceengine.graphics.Batcher; | |
import com.shc.silenceengine.graphics.opengl.Texture; | |
public class Core extends Game { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enchantment: Protection I Cost: 11 | |
Enchantment: Protection II Cost: 22 | |
Enchantment: Protection III Cost: 33 | |
Enchantment: Protection IV Cost: 44 | |
Enchantment: Fire Protection I Cost: 12 | |
Enchantment: Fire Protection II Cost: 20 | |
Enchantment: Fire Protection III Cost: 28 | |
Enchantment: Fire Protection IV Cost: 36 | |
Enchantment: Feather Falling I Cost: 5 | |
Enchantment: Feather Falling II Cost: 11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Enchantment: Protection I Cost: 5 | |
Enchantment: Protection II Cost: 11 | |
Enchantment: Protection III Cost: 16 | |
Enchantment: Protection IV Cost: 22 | |
Enchantment: Fire Protection I Cost: 6 | |
Enchantment: Fire Protection II Cost: 10 | |
Enchantment: Fire Protection III Cost: 14 | |
Enchantment: Fire Protection IV Cost: 18 | |
Enchantment: Feather Falling I Cost: 2 | |
Enchantment: Feather Falling II Cost: 5 |