This file contains hidden or 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
| import java.nio.charset.StandardCharsets; | |
| import java.security.MessageDigest; | |
| import java.security.NoSuchAlgorithmException; | |
| import javax.xml.bind.DatatypeConverter; | |
| public class StringHider | |
| { | |
| /** | |
| * Generate pairs by doing: |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| [08:54:41] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. | |
| [08:54:41] [main/INFO] [FML/]: Forge Mod Loader version 7.10.103.1352 for Minecraft 1.7.10 loading | |
| [08:54:41] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_31, running on Linux:amd64:3.16.0-4-amd64, installed at /usr/lib/jvm/jdk-8-oracle-x64/jre | |
| [08:54:41] [main/DEBUG] [FML/]: Java classpath at launch is /home/cpw/.minecraft/libraries/net/minecraftforge/forge/1.7.10-10.13.2.1352-1.7.10/forge-1.7.10-10.13.2.1352-1.7.10.jar:/home/cpw/.minecraft/libraries/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar:/home/cpw/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar:/home/cpw/.minecraft/libraries/com/typesafe/akka/akka-actor_2.11/2.3.3/akka-actor_2.11-2.3.3.jar:/home/cpw/.minecraft/libraries/com/typesafe/config/1.2.1/config-1.2.1.jar:/home/cpw/.minecraft/libraries/org/scala-lang/scala-actors-migration_2.11/1.1.0/scala-actors-migration_2.11-1.1.0.jar:/home/cpw/.minecraft/libraries/org |
This file contains hidden or 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
| ---- Minecraft Crash Report ---- | |
| // You should try our sister game, Minceraft! | |
| Time: 01/04/15 8:35 AM | |
| Description: Exception while updating neighbours | |
| java.lang.StackOverflowError: Exception while updating neighbours | |
| at java.security.AccessController.doPrivileged(Native Method) | |
| at java.lang.ClassLoader.checkPackageAccess(ClassLoader.java:500) | |
| at net.minecraft.crash.CrashReportCategory.func_147153_a(CrashReportCategory.java:232) |
This file contains hidden or 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
| #!/bin/bash | |
| SF=/home/cpw/Seafile/instances/ForgeCraft2 | |
| INST=/home/cpw/minecraft/forgecraft2 | |
| #EXCLUDE="--exclude stuff" | |
| EXCLUDE="--exclude railcraft --exclude carpentersblocks" | |
| CLEXCLUDE="--exclude ShadersModCore* --exclude PiP* --exclude IGW*" | |
| SFMODS=${SF}/mods/ |
This file contains hidden or 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
| Add to the command line using --modListFile <path to json file> | |
| The above will search for files | |
| /home/cpw/minecraft/modrepo/cpw/mods/ironchest/1.7.10-6.0.41.729/ironchest-1.7.10-6.0.41.729-universal.jar | |
| /home/cpw/minecraft/modrepo/my/fun/mod/219.20/isfun-219.20.jar | |
| Yes, this is restrictive. This is deliberate. | |
| A secondary option allows arbitrary modfile loading using the --modFile argument. Those files are comma separated. |
This file contains hidden or 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 cpw.mods.fml.client; | |
| import java.util.Set; | |
| import net.minecraft.client.gui.GuiScreen; | |
| public interface IModGuiFactory { | |
| /** | |
| * Return the name of a class extending {@link GuiScreen}. This class will | |
| * be instantiated when the "config" button is pressed in the mod list. It will | |
| * have a single argument constructor - the "parent" screen, the same as all |
This file contains hidden or 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
| Original: | |
| public enum EnumTest { | |
| ONE() { { | |
| System.out.println("ONE"); | |
| } }, | |
| TWO() { { | |
| System.out.println("TWO"); | |
| } }; | |
| } |
This file contains hidden or 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
| interface Pepper { | |
| String boo(); | |
| } | |
| public enum Fish implements Pepper { | |
| VAL1() { | |
| public String boo() { | |
| System.out.println("hi"); | |
| } | |
| }, | |
| VAL2() { |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| 21:20:41.139 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@361e3f69, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@7bd52240, org.gradle.logging.internal.JavaUtilLoggingConfigurer@65bbd743] | |
| 21:20:41.659 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@361e3f69, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@7bd52240, org.gradle.logging.internal.JavaUtilLoggingConfigurer@65bbd743] | |
| 21:20:41.661 [INFO] [org.gradle.BuildLogger] Starting Build | |
| 21:20:41.662 [DEBUG] [org.gradle.BuildLogger] Gradle user home: /home/cpw/.gradle | |
| 21:20:41.662 [DEBUG] [org.gradle.BuildLogger] Current dir: /home/cpw/projects/FML | |
| 21:20:41.662 [DEBUG] [org.gradle.BuildLogger] Settings file: null | |
| 21:20:41.663 [DEBUG] [org.gradle.BuildLogger] Build file: null | |
| 21:20:41.674 [DEBUG] [org |
This file contains hidden or 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
| @ForgeSubscribe | |
| event(ForcedChunkLoad evt) | |
| { | |
| for (ForcedChunkTicket ticket : evt.getTickets()) | |
| { | |
| NBTTag data = ticket.getData(); | |
| ChunkCoordIntPair chunk = ... figure out chunk from data | |
| MinecraftForge.claim(ticket, chunk); | |
| } | |
| } |