Skip to content

Instantly share code, notes, and snippets.

@mushroomhostage
mushroomhostage / gist:2577360
Created May 2, 2012 15:14
Buildcraft 2.2.14-r2 automatic crafting table crash
Place automatic crafting table, craft an item manually, take the result = crash:
java.lang.NoSuchMethodError: net.minecraft.server.ModLoader.takenFromCrafting(Lnet/minecraft/server/EntityPlayer;Lnet/minecraft/server/ItemStack;Lnet/minecraft/server/IInventory;)V
at buildcraft.core.CoreProxy.TakenFromCrafting(CoreProxy.java:84)
at buildcraft.factory.ContainerAutoWorkbench$SlotAutoCrafting.c(ContainerAutoWorkbench.java:207)
at net.minecraft.server.Container.clickItem(Container.java:211)
at buildcraft.factory.ContainerAutoWorkbench.clickItem(ContainerAutoWorkbench.java:76)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1181)
at net.minecraft.server.Packet102WindowClick.handle(SourceFile:28)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)
@mushroomhostage
mushroomhostage / gist:2588862
Created May 3, 2012 20:04
Crafting Table III B1.2 + SuperSlopes 1.2.5 crash
13:03:17 [INFO] Player: Giving Player some 126 (X126)
13:03:20 [INFO] 0
13:03:20 [INFO] Check: tile.wood
13:03:20 [INFO] Check: tile.log
13:03:20 [INFO] Check: null
13:03:20 [INFO] Check2: null - false
13:03:20 [INFO] Check2: tile.log - false
13:03:20 [INFO] Check2: tile.wood - false
13:03:20 [INFO] Check: tile.stonebrick
13:03:20 [WARNING] Failed to handle packet: java.lang.ArrayIndexOutOfBoundsException: -1
@mushroomhostage
mushroomhostage / gist:2599099
Created May 5, 2012 02:12
4096 fix outdated for Forge 102 / MCPC 86
19:11:45 [SEVERE] java.lang.NoSuchMethodError: net.minecraft.server.Block.canCreatureSpawn(Lnet/minecraft/server/EnumCreatureType;Lnet/minecraft/server/World;III)Z
19:11:45 [SEVERE] at net.minecraft.server.SpawnerCreature.a(SpawnerCreature.java:220)
19:11:45 [SEVERE] at net.minecraft.server.SpawnerCreature.spawnEntities(SpawnerCreature.java:148)
19:11:45 [SEVERE] at net.minecraft.server.World.doTick(World.java:1753)
19:11:45 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:543)
19:11:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)
19:11:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
19:11:45 [SEVERE] Unexpected exception
java.lang.NoSuchMethodError: net.minecraft.server.Block.canCreatureSpawn(Lnet/minecraft/server/EnumCreatureType;Lnet/minecraft/server/World;III)Z
at net.minecraft.server.SpawnerCreature.a(SpawnerCreature.java:220)
@mushroomhostage
mushroomhostage / gist:2599170
Created May 5, 2012 02:24
java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftEntity cannot be cast to org.bukkit.entity.LivingEntity
see http://www.mcportcentral.co.za/index.php?topic=2422.0
+15:12:04 [INFO] Preparing spawn area: 56%
+15:12:04 [SEVERE] java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftEntity cannot be cast to org.bukkit.entity.LivingEntity
+15:12:04 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callCreatureSpawnEvent(CraftEventFactory.java:222)
+15:12:04 [SEVERE] at net.minecraft.server.World.addEntity(World.java:903)
+15:12:04 [SEVERE] at net.minecraft.server.SpawnerCreature.a(SpawnerCreature.java:259)
+15:12:04 [SEVERE] at net.minecraft.server.ChunkProviderGenerate.getChunkAt(SourceFile:462)
+15:12:04 [SEVERE] at org.bukkit.craftbukkit.generator.NormalChunkGenerator.getChunkAt(NormalChunkGenerator.java:49)
+15:12:04 [SEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:184)
+15:12:04 [SEVERE] at net.minecraft.server.Chunk.a(Chunk.java:848)
@mushroomhostage
mushroomhostage / gist:2600006
Created May 5, 2012 05:24
net.minecraft.server.RecipeSorter - java.lang.IllegalArgumentException: Comparison method violates its general contract!
public int a(CraftingRecipe craftingrecipe, CraftingRecipe craftingrecipe1)
{
if((craftingrecipe instanceof ShapelessRecipes) && (craftingrecipe1 instanceof ShapedRecipes))
return 1;
if((craftingrecipe1 instanceof ShapelessRecipes) && (craftingrecipe instanceof ShapedRecipes))
return -1;
if(craftingrecipe1.a() < craftingrecipe.a())
return -1;
return craftingrecipe1.a() <= craftingrecipe.a() ? 0 : 1;
}
@mushroomhostage
mushroomhostage / gist:2600502
Created May 5, 2012 06:52
Crafting Table 3 B1.2 + SuperSlopes 1.2.5 crash
23:50:36 [INFO] Player: Giving Player some 126 (X126)
23:50:46 [INFO] 3
23:50:47 [INFO] Check: tile.wood
23:50:47 [INFO] tile.wood: 56 - 1
23:50:47 [INFO] Check: tile.wood
23:50:47 [INFO] tile.wood: 55 - 1
23:50:47 [INFO] Check: tile.wood
23:50:47 [INFO] tile.wood: 54 - 1
23:50:47 [INFO] Check: item.stick
23:50:47 [INFO] Check: tile.wood
@mushroomhostage
mushroomhostage / gist:2604995
Created May 5, 2012 19:37
Crafting Table III B1.2 + Trees++ 1.3.35 crash
java.lang.ArrayIndexOutOfBoundsException: -1
at net.minecraft.server.ItemNewLogs.a(ItemNewLogs.java:29)
at net.minecraft.server.ItemStack.k(ItemStack.java:247)
at lukeperkin.craftingtable3.Zeldo.canPlayerCraft(Zeldo.java:72)
at lukeperkin.craftingtable3.Zeldo.canPlayerCraft(Zeldo.java:83)
at lukeperkin.craftingtable3.Zeldo.canPlayerCraft(Zeldo.java:49)
at lukeperkin.craftingtable3.ContainerClevercraft.populateSlotsWithRecipes(ContainerClevercraft.java:98)
at lukeperkin.craftingtable3.ContainerClevercraft.<init>(ContainerClevercraft.java:68)
at net.minecraft.server.mod_CraftingTableIII.getGuiElement(mod_CraftingTableIII.java:143)
at net.minecraft.server.EntityHuman.openGui(EntityHuman.java:1329)
@mushroomhostage
mushroomhostage / gist:2613336
Created May 6, 2012 04:36
IDMap dump 5-5-12 at 21.34.17.975.txt
Block. Name: tile.stone. ID: 1
Block. Name: tile.grass. ID: 2
Block. Name: tile.dirt. ID: 3
Block. Name: tile.stonebrick. ID: 4
Block. Name: tile.wood. ID: 5
Block. Name: tile.sapling. ID: 6
Block. Name: tile.bedrock. ID: 7
Block. Name: tile.water. ID: 8
Block. Name: tile.water. ID: 9
Block. Name: tile.lava. ID: 10
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CraftBukkit 1.2.5-R1.3-MCPC-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ craftbukkit ---
[INFO] Source directory: /Users/admin/minecraft/bukkit/dev/MinecraftPortCentral/CraftBukkit/src/FML/common added.
[INFO] Source directory: /Users/admin/minecraft/bukkit/dev/MinecraftPortCentral/CraftBukkit/src/FML/bukkit added.
[INFO]
@mushroomhostage
mushroomhostage / gist:2754286
Created May 20, 2012 06:02
Jammy Furniture Mod v3.5 config example
# Configuration file
# Generated on 5/19/12 10:26 PM
###########
# General #
###########
general {
ArmChair=1
BathroomCupboard=1