Skip to content

Instantly share code, notes, and snippets.

@cpw
cpw / fap-2019.md
Last active June 2, 2019 21:58 — forked from JTK222/answers.md
Forge annual Parley - 2019 questions

Forge annual Parley - Questions 2019

Most important Question

  • What's the story of the Squirrel?

General

  • Will the support for 1.12.2 end? And will we get another recommended build for 1.12?
  • Will 1.13.2 be left as it is, or be continued parallel to 1.14?
  • Will the example project ever do anything meaningful? (Like register a block, or implement an entity)
  • Is it possible to/how hard would it be to cache resource loading to improve launch times?
[23:42:43] [Server thread/DEBUG] [FML]: Processing missing event for minecraft:blocks:
[23:42:43] [Server thread/WARN] [FML]: forestry:greenhouse.heater may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:upgrade_conveyor_backwards_fast may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:conveyor_vertical_slow_down may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:concrete may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:upgrade_conveyor_spike_fast may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:upgrade_conveyor_dropper may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: forestry:greenhouse.door may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:conveyor_ramp_intermediate_up may cause world breakage!
[23:42:43] [Server thread/WARN] [FML]: simplyconveyors:conveyor_inverse_fast may cause world breaka
---- Minecraft Crash Report ----
WARNING: coremods are present:
SurgeLoadingPlugin (Surge-1.10.2-1.1.0.61.jar)
ForgelinPlugin (Forgelin-1.2.0.jar)
LoadingPlugin (RandomThings-MC1.10.2-3.7.7.jar)
LoadingPlugin (ResourceLoader-MC1.9.4-1.5.1.jar)
AppleCore (AppleCore-mc1.10.2-2.1.0.jar)
NWRTweak (redstonepaste-mc1.9.4-1.7.4.jar)
BookshelfLoadingPlugin (Bookshelf-1.10.2-1.4.3.338.jar)
<h1>Inventory sorter changelog history</h1>
<h2>Version 3.4.0 for minecraft 1.9.4</h2>
<ul>
<li><h3>Current release 3.4.0</h3>
<hr/>
<ul>
<li>Update ForgeGradle</li>
<li>Update Forge version</li>
<li>Update zh_CN.lang (#281)</li>
java.lang.NullPointerException
at net.minecraft.world.World.func_180495_p(World.java:828) ~[aht.class:?]
at com.rwtema.extrautils2.blocks.BlockPassiveGenerator$GeneratorTypes$3.getPowerLevel(BlockPassiveGenerator.java:204) ~[BlockPassiveGenerator$GeneratorTypes$3.c$
at com.rwtema.extrautils2.tile.TilePassiveGenerator.getPower(TilePassiveGenerator.java:15) ~[TilePassiveGenerator.class:?]
at com.rwtema.extrautils2.power.PowerManager$PowerFreq.refresh(PowerManager.java:383) ~[PowerManager$PowerFreq.class:?]
at com.rwtema.extrautils2.power.PowerManager.tick(PowerManager.java:350) ~[PowerManager.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_211_PowerManager_tick_ServerTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140) ~[EventBus.class:?]
a
@cpw
cpw / a.rb
Created January 25, 2016 23:45
[18:04:14] [Server thread/ERROR] [FML/]: A TileEntity type com.fireball1725.graves.tileentity.TileEntityGraveStone has throw an exception trying to writ\
e state. It will not persist. Report this to the mod author
java.lang.NullPointerException
at net.minecraft.nbt.NBTUtil.func_180708_a(SourceFile:60) ~[dy.class:?]
at com.fireball1725.graves.tileentity.TileEntityGraveStone.func_145841_b(TileEntityGraveStone.java:87) ~[TileEntityGraveStone.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:368) [anj.class:?]
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:165) [anj.class:?]
at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:238) [ld.class:?]
at net.minecraft.world.gen.ChunkProviderServer.func_73151_a(ChunkProviderServer.java:298) [ld.class:?]
at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:904) [le.class:?]
[19:22:06] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[19:22:06] [main/INFO] [FML/]: Forge Mod Loader version 11.15.0.1703 for Minecraft 1.8.9 loading
[19:22:06] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_66, running on Linux:amd64:4.3.0-1-amd64, installed at /usr/lib/jvm/jdk-8-oracle-x64/jre
[19:22:06] [main/DEBUG] [FML/]: Java classpath at launch is /home/cpw/.minecraft/libraries/net/minecraftforge/forge/1.8.9-11.15.0.1703/forge-1.8.9-11.15.0.1703.jar:/home/cpw/.minecraft/libraries/io/netty/netty-all/4.0.23.Final/netty-all-4.0.23.Final.jar:/home/cpw/.minecraft/libraries/net/minecraft/launchwrapper/1.12/launchwrapper-1.12.jar:/home/cpw/.minecraft/libraries/org/ow2/asm/asm-all/5.0.3/asm-all-5.0.3.jar:/home/cpw/.minecraft/libraries/jline/jline/2.13/jline-2.13.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/.minecra
@cpw
cpw / bootstrap.gradle
Last active April 27, 2017 19:36 — forked from AbrarSyed/bootstrap.gradle
This makes gradle compile java6 stuff with the actual java 6 classpath. --- Usage: Drop this file in USER_HOME/.gradle/init.d --- You will probably want to change the path to your java6 instance.
allprojects {
afterEvaluate {
def versions = [
'1.6' : "/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/",
]
// convert map to classpaths
versions = versions.collectEntries { key, value ->
[key, fileTree(dir: value, include: "*.jar").getAsPath()]
}
diff -Naur src/minecraft/net/minecraft/block/BlockRedstoneTorch.java src.working/minecraft/net/minecraft/block/BlockRedstoneTorch.java
--- src/minecraft/net/minecraft/block/BlockRedstoneTorch.java 2015-10-10 17:07:52.378017898 -0400
+++ src.working/minecraft/net/minecraft/block/BlockRedstoneTorch.java 2015-10-10 15:55:55.067984632 -0400
@@ -24,7 +24,7 @@
private boolean func_176598_a(World p_176598_1_, BlockPos p_176598_2_, boolean p_176598_3_) {
if(!field_150112_b.containsKey(p_176598_1_)) {
- field_150112_b.put(p_176598_1_, Lists.newArrayList());
+ field_150112_b.put(p_176598_1_, Lists.<BlockRedstoneTorch.Toggle>newArrayList());
}
@cpw
cpw / StringHider.java
Created April 23, 2015 16:32
Secure string pairs
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: