Skip to content

Instantly share code, notes, and snippets.

cpw cpw

Block or report user

Report or block cpw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View fml-client-3.log
This file has been truncated, but you can view the full file.
[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
View crash-2015-04-01_08.35.42-server.txt
---- 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)
View sync.sh
#!/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/
@cpw
cpw / modlist.json
Created Aug 2, 2014
FML modlist json description
View modlist.json
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.
View gist:8221706
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
View gist:7413359
Original:
public enum EnumTest {
ONE() { {
System.out.println("ONE");
} },
TWO() { {
System.out.println("TWO");
} };
}
View gist:7406140
interface Pepper {
String boo();
}
public enum Fish implements Pepper {
VAL1() {
public String boo() {
System.out.println("hi");
}
},
VAL2() {
View debug.out
This file has been truncated, but you can view the full file.
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
View gist:3759575
@ForgeSubscribe
event(ForcedChunkLoad evt)
{
for (ForcedChunkTicket ticket : evt.getTickets())
{
NBTTag data = ticket.getData();
ChunkCoordIntPair chunk = ... figure out chunk from data
MinecraftForge.claim(ticket, chunk);
}
}
View gist:3684576
package demo;
import java.util.Map;
import com.google.common.collect.Maps;
import cpw.mods.fml.common.Mod.Instance;
import buildcraft.BuildCraftCore;
public class BuildCraftProxy {
You can’t perform that action at this time.