When my server on Java 7, custom stuff work with bugs. Client gives me crash if I run Minecraft on Java 7 oO
Did you make sure to uninstall all versions of java before installing java 7? Me and my friend are both running java 7 with minecraft and servers without any problems. I would suggest either reinstalling the newest java after uninstalling all copies of java or setting java in your environmental variables. If you don't know how to do one of those, I suggest using Google or any other search site to find how to do those things.
If it says that directionalPlacement.js doesn't exist, either you put it in the wrong folder (should be in /scripts/) or the name is wrong. If it is neither of those fix it and you are using a zipped mod, double check that it is in it or unzip it and test it as a folder instead of a zip file.
It does exist in C:\Documents and Settings\*****\Application Data\.minecraft\config\Overhaul\scripts and then I drag the folder into the zip which I always do and it works. I even copy and pasted from my pumpkinCreeper.js calling the script to the script file itself (directionalPlacement.js) to make sure it's exactly the same.
- I use Magic Launcher (ML)
- ML will say "No mods found" no matter which way I add your mods
- MC will crash with the above error even when I only try one of the mods
- direct injection of the files won't work either as ML won't load them.
What to do?
You should be installing it as an external mod if you're using ML.
Also, I can't be certain this is even a problem with one mod in particular. You've got loads of them, and there could be conflicts. Sorry.
I already tried repacking the mods because the coder of ML gave some sort of manual what to try when the "no mods found" error comes up (repacking and using as External mods). However for some reason that won't work for these mods.
OK, this jumped out at me.
First off, if Magic Launcher says "No Mods Found" for an external mod... don't worry about it. It's Forge that needs to see the mod, and it will do so even if ML can't. I've got loads of mods that ML thinks are empty, and they all work fine.
Just take the .zip file, exactly as CubeX2 packaged it, and dump it into the /mods/ folder (or the External Mods list if you're using ML), and away you go!
That's probably why it wasn't finding the class files: it was looking where CubeX2 intended for them to be. Don't repackage mods. The author/coder makes them the way they are for a reason.
1) how to add entchanted animation?
2) how to code working fuel item? (mine crashes mc if I put it into the furnance, after restart its in the furnance and the furnance is burning, but the fuel doesnt disappear)
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-31_15.12.43-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT bb4f85be --------
Full report at:
C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-31_15.12.43-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 31.01.13 15:12
-- Head --
Stacktrace:
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
-- Tile entity being ticked --
Details:
Name: Furnace // anr
Block type: ID #0
Block data value: 3 / 0x3 / 0b0011
Block location: World: (126,68,222), Chunk: (at 14,4,14 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: Test für Mods
All players: 1 total; [iq['Binary_101'/259, l='Test für Mods', x=128,32, y=68,00, z=224,30]]
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: -1341927860
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (121,64,256), Chunk: (at 9,4,0 in 7,16; contains blocks 112,0,256 to 127,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 105517 game time, 122408 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 83643 (now: false), thunder time: 21611 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 315353352 bytes (300 MB) / 622854144 bytes (594 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 3362 (188272 bytes; 0 MB) allocated, 3142 (175952 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 18 mods loaded, 18 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_SpawnerGUI [mod_SpawnerGUI] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Shelf [mod_Shelf] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_RecipeBook [mod_RecipeBook] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_ams [mod_ams] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Compression [mod_Compression] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
SC0_EverlastingTools [Everlasting Tools] (1.4.6-Everlasting-Tools-1.0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ChestTransporter [Chest Transporter] (chestTransporter_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CustomStuff2 [Custom Stuff 2] (customStuff2_0.9.8d_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.7-5.0.0.228.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
darkhax_msm [MoreSwordMod] (More Swords Mod 2.3.2 For 1.4.7 .zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MoreFurnaces [More Furnaces] (moreFurnaces_1.3.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MultiPageChest [Multi Page Chest] (multiPageChest_1.2.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
WholeTreeAxe [Whole Tree Axe] (wholeTreeAxe_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_XPBank [XP Bank] (XPBank.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 2553 (142968 bytes; 0 MB) allocated, 2381 (133336 bytes; 0 MB) used
Player Count: 1 / 8; [iq['Binary_101'/259, l='Test für Mods', x=128,32, y=68,00, z=224,30]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 645b6b61 ----------
3) how to set a mob on fire at "right click !!!" with itenm on the mob?
3) how to damage specified mobs (e.g. if i only want to damage blazes on left clicking, i want a blaze zeptar which kills blazes and ONLY blazes at one hit)
PS: awesome Mod ^^ Easy and quick if u haven't the time to code your own mod xD
1) how to add entchanted animation?
2) how to code working fuel item? (mine crashes mc if I put it into the furnance, after restart its in the furnance and the furnance is burning, but the fuel doesnt disappear)
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-31_15.12.43-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT bb4f85be --------
Full report at:
C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-01-31_15.12.43-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 31.01.13 15:12
-- Head --
Stacktrace:
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
-- Tile entity being ticked --
Details:
Name: Furnace // anr
Block type: ID #0
Block data value: 3 / 0x3 / 0b0011
Block location: World: (126,68,222), Chunk: (at 14,4,14 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: Test für Mods
All players: 1 total; [iq['Binary_101'/259, l='Test für Mods', x=128,32, y=68,00, z=224,30]]
Chunk stats: ServerChunkCache: 625 Drop: 0
Level seed: -1341927860
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (121,64,256), Chunk: (at 9,4,0 in 7,16; contains blocks 112,0,256 to 127,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 105517 game time, 122408 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 83643 (now: false), thunder time: 21611 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 315353352 bytes (300 MB) / 622854144 bytes (594 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 3362 (188272 bytes; 0 MB) allocated, 3142 (175952 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 18 mods loaded, 18 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_SpawnerGUI [mod_SpawnerGUI] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Shelf [mod_Shelf] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_RecipeBook [mod_RecipeBook] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_ams [mod_ams] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Compression [mod_Compression] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
SC0_EverlastingTools [Everlasting Tools] (1.4.6-Everlasting-Tools-1.0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ChestTransporter [Chest Transporter] (chestTransporter_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CustomStuff2 [Custom Stuff 2] (customStuff2_0.9.8d_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.7-5.0.0.228.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
darkhax_msm [MoreSwordMod] (More Swords Mod 2.3.2 For 1.4.7 .zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MoreFurnaces [More Furnaces] (moreFurnaces_1.3.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MultiPageChest [Multi Page Chest] (multiPageChest_1.2.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
WholeTreeAxe [Whole Tree Axe] (wholeTreeAxe_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_XPBank [XP Bank] (XPBank.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 2553 (142968 bytes; 0 MB) allocated, 2381 (133336 bytes; 0 MB) used
Player Count: 1 / 8; [iq['Binary_101'/259, l='Test für Mods', x=128,32, y=68,00, z=224,30]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 645b6b61 ----------
3) how to set a mob on fire at "right click !!!" with itenm on the mob?
3) how to damage specified mobs (e.g. if i only want to damage blazes on left clicking, i want a blaze zeptar which kills blazes and ONLY blazes at one hit)
PS: awesome Mod ^^ Easy and quick if u haven't the time to code your own mod xD
1) Isn't possible at the moment.
2) Add the following line to your mod.js file:
// This will add dirt as a fuel
mod.addFuel("3", 1000);
3) Add this to your item file:
// This will set the living on fire for 10 seconds
onUseOnEntity = "living.setFire(10);";
// This will add dirt as a fuel
mod.addFuel("3", 1000);
No i meant in the ITEMFILE (fuel.js)
I made an Item which should power the furnance for unlimited time:
name = "elementfeuer";
displayName = "Element Feuer";
imformation = "Eine unerschöpfliche Quelle des Feuers, verbrennt alles mitdem es in Berührung kommt.";
id = 5006;
textureIndex = 5;
textureFile = "/guis/MyMod.png";
addToCreative = true;
creativeTab = "misc";
maxStack = 1;
onUseOnEntity = "living.setFire(120);";
and added the fuel to the mod.js:
mod.addFuel("5006", 2147483647);
Actually mc crashes if i put the fuel into the furnance. After i restarted mc the fuel is in the fuel box of the furnance AND the furnance is filled with the fuel and burns as long as it should with this fuel BUT the fuel doenst dissapeared.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT d17af422 --------
Full report at:
C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 01.02.13 17:37
-- Head --
Stacktrace:
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
-- Tile entity being ticked --
Details:
Name: Furnace // anr
Block type: ID #0
Block data value: 3 / 0x3 / 0b0011
Block location: World: (126,68,222), Chunk: (at 14,4,14 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: Test für Mods
All players: 1 total; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Chunk stats: ServerChunkCache: 520 Drop: 0
Level seed: -1341927860
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (121,64,256), Chunk: (at 9,4,0 in 7,16; contains blocks 112,0,256 to 127,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 111752 game time, 128643 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 77408 (now: false), thunder time: 15376 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 209901384 bytes (200 MB) / 515309568 bytes (491 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 2420 (135520 bytes; 0 MB) allocated, 2148 (120288 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 18 mods loaded, 18 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_SpawnerGUI [mod_SpawnerGUI] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Shelf [mod_Shelf] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_RecipeBook [mod_RecipeBook] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_ams [mod_ams] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Compression [mod_Compression] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
SC0_EverlastingTools [Everlasting Tools] (1.4.6-Everlasting-Tools-1.0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ChestTransporter [Chest Transporter] (chestTransporter_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CustomStuff2 [Custom Stuff 2] (customStuff2_0.9.8d_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.7-5.0.0.228.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
darkhax_msm [MoreSwordMod] (More Swords Mod 2.3.2 For 1.4.7 .zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MoreFurnaces [More Furnaces] (moreFurnaces_1.3.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MultiPageChest [Multi Page Chest] (multiPageChest_1.2.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
WholeTreeAxe [Whole Tree Axe] (wholeTreeAxe_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_XPBank [XP Bank] (XPBank.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1437 (80472 bytes; 0 MB) allocated, 771 (43176 bytes; 0 MB) used
Player Count: 1 / 8; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 426ca093 ----------
Btw, how can i set the block on fire on which the item drops?
The item represents the element fire and should do all what fire do, burning everything it touches xD
An other problem:
My Item:
name = "blazezepter";
displayName = "Lohenzepter";
imformation = "Ein Zepter welches über das Lohenvolk herrscht";
id = 5002;
maxStack = 1;
maxDamage = 16;
textureIndex = 1;
textureFile = "/guis/MyMod.png";
addToCreative = true;
//onHitEntity = "living.setFire(2); player.damageItem(player.getCurrentSlot(), 1);";
onUseOnEntity = "player.damageItem(player.getCurrentSlot(), 1); if (living.getName() == 'Blaze') { living.setHealth(0); } else { living.setFire(6); }";
creativeTab = "combat";
When I made some custom doors in CS2 (following the example on the wiki) I got everything to work except for 2 problems; 1, the doors can be broken with a single punch, and 2, if you break the door from the bottom half you do not get an item back (only the top half gives you the item back). Is there a property i can add to fix this or is it a bug? (again, i followed the code in the door example on the wiki).
// This will add dirt as a fuel
mod.addFuel("3", 1000);
No i meant in the ITEMFILE (fuel.js)
I made an Item which should power the furnance for unlimited time:
name = "elementfeuer";
displayName = "Element Feuer";
imformation = "Eine unerschöpfliche Quelle des Feuers, verbrennt alles mitdem es in Berührung kommt.";
id = 5006;
textureIndex = 5;
textureFile = "/guis/MyMod.png";
addToCreative = true;
creativeTab = "misc";
maxStack = 1;
onUseOnEntity = "living.setFire(120);";
and added the fuel to the mod.js:
mod.addFuel("5006", 2147483647);
Actually mc crashes if i put the fuel into the furnance. After i restarted mc the fuel is in the fuel box of the furnance AND the furnance is filled with the fuel and burns as long as it should with this fuel BUT the fuel doenst dissapeared.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT d17af422 --------
Full report at:
C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 01.02.13 17:37
-- Head --
Stacktrace:
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
-- Tile entity being ticked --
Details:
Name: Furnace // anr
Block type: ID #0
Block data value: 3 / 0x3 / 0b0011
Block location: World: (126,68,222), Chunk: (at 14,4,14 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: Test für Mods
All players: 1 total; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Chunk stats: ServerChunkCache: 520 Drop: 0
Level seed: -1341927860
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (121,64,256), Chunk: (at 9,4,0 in 7,16; contains blocks 112,0,256 to 127,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 111752 game time, 128643 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 77408 (now: false), thunder time: 15376 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 209901384 bytes (200 MB) / 515309568 bytes (491 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 2420 (135520 bytes; 0 MB) allocated, 2148 (120288 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 18 mods loaded, 18 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_SpawnerGUI [mod_SpawnerGUI] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Shelf [mod_Shelf] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_RecipeBook [mod_RecipeBook] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_ams [mod_ams] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Compression [mod_Compression] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
SC0_EverlastingTools [Everlasting Tools] (1.4.6-Everlasting-Tools-1.0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ChestTransporter [Chest Transporter] (chestTransporter_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CustomStuff2 [Custom Stuff 2] (customStuff2_0.9.8d_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.7-5.0.0.228.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
darkhax_msm [MoreSwordMod] (More Swords Mod 2.3.2 For 1.4.7 .zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MoreFurnaces [More Furnaces] (moreFurnaces_1.3.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MultiPageChest [Multi Page Chest] (multiPageChest_1.2.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
WholeTreeAxe [Whole Tree Axe] (wholeTreeAxe_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_XPBank [XP Bank] (XPBank.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1437 (80472 bytes; 0 MB) allocated, 771 (43176 bytes; 0 MB) used
Player Count: 1 / 8; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 426ca093 ----------
Btw, how can i set the block on fire on which the item drops?
The item represents the element fire and should do all what fire do, burning everything it touches xD
An other problem:
My Item:
name = "blazezepter";
displayName = "Lohenzepter";
imformation = "Ein Zepter welches über das Lohenvolk herrscht";
id = 5002;
maxStack = 1;
maxDamage = 16;
textureIndex = 1;
textureFile = "/guis/MyMod.png";
addToCreative = true;
//onHitEntity = "living.setFire(2); player.damageItem(player.getCurrentSlot(), 1);";
onUseOnEntity = "player.damageItem(player.getCurrentSlot(), 1); if (living.getName() == 'Blaze') { living.setHealth(0); } else { living.setFire(6); }";
creativeTab = "combat";
Error if right clicking on a mob (was a pig):
ReferenceError: "player" is not defined.
I have no idea about your fuel problems, but for your fire thing, you cannot use player.damageItem with onHitEntity. You have to use itemstack.damageItem(1); instead.
Last time I tested, there was no easy way to imitate the vine's graphics. However, I did write a script that should work similar to a melon for most purposes. You can find it under the vine grown plants part of the plants page. I should really update the plants page, but until I do, the following information should be enough to figure out how to translate it:
I will not translate the block itself since anyone able to make a block in CS2 should be able to figure that out easily enough. I will, however, tell you how to update the scripts and the triggers that call the scripts. The following changes need to be made:
replace update# with onUpdate[#]
replace rightclick# with onUse[#]
replace "customstuff" with "mod"
replace "origin" with "position"
replace "removeFromInventory" with "remove"
replace "getBlockDamage" with "getBlockMetadata"
The last 4 changes can be done using a simple "replace all" in Notepad++ or most other editors that have a replace function. Nothing else in the scripts should need changed, but tell me if you have problems.
hi everyone, this is a big post and i want to get a lot of things covered...
First, my mod works great and we use it on a server, but there are a few items that are buggy
First, axes and hoes do not work as they should, axes ignore effiency for some reason and hoes do not work at all. there may be something extra i need to do to get them to work.
second, i added a new beverage, chocolate milk that is required to make chocolate cake, both of these items do not work.
the chocolate milk does infact work in a crafting recipe but crashes my game if i used it, so it was deleted. all it does if you drink it is do the same effect as milk. it is not intended to be used as a fluid like water or lava
the chocolate cake i can place it but i cant eat it like i would a regular cake, a while ago i tried a script made by flamarrow but it didnt work out. and it should do these things. 1st, when you have the item in your hand, you can right click to place the cake BLOCK, which if you right click again, you eat the entire cake and if you break the block vie left clicking, it drops cake slices that can be eaten individually, there are 6 in total, the cake slices are items not blocks and if you have all 6, you can craft it back into a cake block.
third, i wanted to add 4 new blocks to my mod.
first is a new furnace, that works exactly like the regular furnace, just made from a different materal, for example, stone bricks, or bricks. i can tweak it later if i want it work faster/slower.
second is a cheese block which works exactly like the cake block, you craft it by putting milk into a furnace NOT chocolate milk. and it will need to return the bucket once it is made or just throw one out of the furnace or spawn one, since i believe that custom stuff furnace recipies cant have container items like crafting table recipies.
third, and invisible light block, it simply has no texture on it but can still be placed AND has no collision so you can walk through it but you an still MINE it.
lastly is a new bed, different color wools make different color beds, i.e. orange wool makes an orange bed. that way my players can have there beds be individualized. i have no idea how this would work but it would be better if it used metadata for the ids of the bed and have one base block that is not craftable or accessable in creative mode. that way the beds could be as such.. bedID:1 red bed, bedID:2 blue bed, etc. if this cant be done, please tell me so, if it can, i would love help on this one especially because i have no idea what im doing when it comes to beds.
one last thing, a while ago flamarrow helped me on a wieldable light source using the invisible light block or a modified version, the lantern was supposed to do this.
when held in your hand, it creates an invisible light block over your head that follows you as you use it
when you put the lantern away or change to a different item, it deletes the the light block
if you place the lantern on the ground, it behaves like a torch and makes its own lantern block,
if you break the lantern block, it gives the lantern item back to you.
thanks to everyone who works on this mod. I love how flexable it is and what you can do with it. its been a must have for me and my players on my server ever since 1.2.5!
I do not speak English, please forgive hard to read.
Fuel problem described above occurs, too.
Software version: Minecraft ver.1.4.7, FML 4.7.4, custom stuff 2(latest version).
Minecraft crashes when the item becomes zero burning.
When I restart it, there is "Item's quantity is 0(or minus), but left" state,
and the quantity has been minus the handling (still not extinguished).
Because, take out the items that were in this state (it looks [1]), when I integrate the item, the item number is decreased.
(Example: [this crashed item] + [same item,but not crashed] *6 -> [item] * 3!)
I think the processing of the item[0] in the furnace, is illegal.
Strange problem with download Chest Transporter 1.1.5: when i open download page than see only versions up to 1.1.3 only.
I not see 1.1.5 version and not see O.o 1.1.4 that have currently.
// This will add dirt as a fuel
mod.addFuel("3", 1000);
No i meant in the ITEMFILE (fuel.js)
I made an Item which should power the furnance for unlimited time:
name = "elementfeuer";
displayName = "Element Feuer";
imformation = "Eine unerschöpfliche Quelle des Feuers, verbrennt alles mitdem es in Berührung kommt.";
id = 5006;
textureIndex = 5;
textureFile = "/guis/MyMod.png";
addToCreative = true;
creativeTab = "misc";
maxStack = 1;
onUseOnEntity = "living.setFire(120);";
and added the fuel to the mod.js:
mod.addFuel("5006", 2147483647);
Actually mc crashes if i put the fuel into the furnance. After i restarted mc the fuel is in the fuel box of the furnance AND the furnance is filled with the fuel and burns as long as it should with this fuel BUT the fuel doenst dissapeared.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT d17af422 --------
Full report at:
C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 01.02.13 17:37
-- Head --
Stacktrace:
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
-- Tile entity being ticked --
Details:
Name: Furnace // anr
Block type: ID #0
Block data value: 3 / 0x3 / 0b0011
Block location: World: (126,68,222), Chunk: (at 14,4,14 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: Test für Mods
All players: 1 total; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Chunk stats: ServerChunkCache: 520 Drop: 0
Level seed: -1341927860
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (121,64,256), Chunk: (at 9,4,0 in 7,16; contains blocks 112,0,256 to 127,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 111752 game time, 128643 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 77408 (now: false), thunder time: 15376 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 209901384 bytes (200 MB) / 515309568 bytes (491 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 2420 (135520 bytes; 0 MB) allocated, 2148 (120288 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 18 mods loaded, 18 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_SpawnerGUI [mod_SpawnerGUI] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Shelf [mod_Shelf] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_RecipeBook [mod_RecipeBook] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_ams [mod_ams] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Compression [mod_Compression] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
SC0_EverlastingTools [Everlasting Tools] (1.4.6-Everlasting-Tools-1.0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ChestTransporter [Chest Transporter] (chestTransporter_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CustomStuff2 [Custom Stuff 2] (customStuff2_0.9.8d_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.7-5.0.0.228.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
darkhax_msm [MoreSwordMod] (More Swords Mod 2.3.2 For 1.4.7 .zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MoreFurnaces [More Furnaces] (moreFurnaces_1.3.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MultiPageChest [Multi Page Chest] (multiPageChest_1.2.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
WholeTreeAxe [Whole Tree Axe] (wholeTreeAxe_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_XPBank [XP Bank] (XPBank.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1437 (80472 bytes; 0 MB) allocated, 771 (43176 bytes; 0 MB) used
Player Count: 1 / 8; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 426ca093 ----------
It is a bug that causes this crash. It will be fixed in the next update.
When I made some custom doors in CS2 (following the example on the wiki) I got everything to work except for 2 problems; 1, the doors can be broken with a single punch, and 2, if you break the door from the bottom half you do not get an item back (only the top half gives you the item back). Is there a property i can add to fix this or is it a bug? (again, i followed the code in the door example on the wiki).
Thanks for any help in advance.
1. Did you set the hardness attribute for your block?
2. I tried it and I got the item back even from the bottom half. Are you using the newest version? And could you post the files for your door?
hi everyone, this is a big post and i want to get a lot of things covered...
First, my mod works great and we use it on a server, but there are a few items that are buggy
First, axes and hoes do not work as they should, axes ignore effiency for some reason and hoes do not work at all. there may be something extra i need to do to get them to work.
Did you set the toolClass attribute to "axe"?
If you mean with hoes do not work that they don't till, you have to add a simple script to it:
second, i added a new beverage, chocolate milk that is required to make chocolate cake, both of these items do not work.
the chocolate milk does infact work in a crafting recipe but crashes my game if i used it, so it was deleted. all it does if you drink it is do the same effect as milk. it is not intended to be used as a fluid like water or lava
the chocolate cake i can place it but i cant eat it like i would a regular cake, a while ago i tried a script made by flamarrow but it didnt work out. and it should do these things. 1st, when you have the item in your hand, you can right click to place the cake BLOCK, which if you right click again, you eat the entire cake and if you break the block vie left clicking, it drops cake slices that can be eaten individually, there are 6 in total, the cake slices are items not blocks and if you have all 6, you can craft it back into a cake block.
You can't remove potion effects at the moment, so you can do the same effect as milk.
As for the cake you can do this:
third, i wanted to add 4 new blocks to my mod.
first is a new furnace, that works exactly like the regular furnace, just made from a different materal, for example, stone bricks, or bricks. i can tweak it later if i want it work faster/slower.
For a furnace you need a normal block, a furnace gui and a furnace tile entity. At the moment the furnace can't have on off textures.
furnaceGui.js:
name = "someNewFurnace";
guiFile = "/gui/furnace.png";
second is a cheese block which works exactly like the cake block, you craft it by putting milk into a furnace NOT chocolate milk. and it will need to return the bucket once it is made or just throw one out of the furnace or spawn one, since i believe that custom stuff furnace recipies cant have container items like crafting table recipies.
This isn't possible at the moment.
third, and invisible light block, it simply has no texture on it but can still be placed AND has no collision so you can walk through it but you an still MINE it.
lastly is a new bed, different color wools make different color beds, i.e. orange wool makes an orange bed. that way my players can have there beds be individualized. i have no idea how this would work but it would be better if it used metadata for the ids of the bed and have one base block that is not craftable or accessable in creative mode. that way the beds could be as such.. bedID:1 red bed, bedID:2 blue bed, etc. if this cant be done, please tell me so, if it can, i would love help on this one especially because i have no idea what im doing when it comes to beds.
I do not speak English, please forgive hard to read.
Fuel problem described above occurs, too.
Software version: Minecraft ver.1.4.7, FML 4.7.4, custom stuff 2(latest version).
Minecraft crashes when the item becomes zero burning.
When I restart it, there is "Item's quantity is 0(or minus), but left" state,
and the quantity has been minus the handling (still not extinguished).
Because, take out the items that were in this state (it looks [1]), when I integrate the item, the item number is decreased.
(Example: [this crashed item] + [same item,but not crashed] *6 -> [item] * 3!)
I think the processing of the item[0] in the furnace, is illegal.
I think this happens due to the crash. It will be fixed in the next update.
Strange problem with download Chest Transporter 1.1.5: when i open download page than see only versions up to 1.1.3 only.
I not see 1.1.5 version and not see O.o 1.1.4 that have currently.
1.1.4 is now in the older versions page. 1.1.5 is not there since it is the current version that has its own link in the OP.
Rollback Post to RevisionRollBack
I'm on twitter: @CubeX2_. Follow me for upcoming features and other stuff ;).
Hello, i would like to know if i have your permission to use your mod in a modpack that i am creating, you will have full credit of the mod and also will have a link in the modpack so people can give you credit for this awesome mod. If you say yes, would you like to see the modpack?
---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!
Time: 07.02.13 19:21
Description: Exception while ticking a block
org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen.onUpdate_256._c_script_0(onUpdate:0)
at org.mozilla.javascript.gen.onUpdate_256.call(onUpdate)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
at org.mozilla.javascript.gen.onUpdate_256.call(onUpdate)
at org.mozilla.javascript.gen.onUpdate_256.exec(onUpdate)
at cubex2.mods.customstuff2.ScriptLoader.run(ScriptLoader.java:177)
at cubex2.mods.customstuff2.blocks.BlockFunctions.evaluateEvent(BlockFunctions.java:247)
at cubex2.mods.customstuff2.blocks.BlockFunctions.evaluateEvent(BlockFunctions.java:239)
at cubex2.mods.customstuff2.blocks.BlockFunctions.updateTick(BlockFunctions.java:93)
at cubex2.mods.customstuff2.blocks.CustomBlock.b(CustomBlock.java:58)
at in.a(WorldServer.java:567)
at in.b(WorldServer.java:178)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:669)
at ho.r(DedicatedServer.java:270)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at zz.a(Chunk.java:768)
at zz.a(Chunk.java:663)
at yc.b(World.java:588)
at yc.e(World.java:697)
at cubex2.mods.customstuff2.scripting.ScriptableWorld.setBlockId(ScriptableWorld.java:58)
at cubex2.mods.customstuff2.scripting.ScriptableWorld.setBlockId(ScriptableWorld.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
... 20 more
Did you make sure to uninstall all versions of java before installing java 7? Me and my friend are both running java 7 with minecraft and servers without any problems. I would suggest either reinstalling the newest java after uninstalling all copies of java or setting java in your environmental variables. If you don't know how to do one of those, I suggest using Google or any other search site to find how to do those things.
It does exist in C:\Documents and Settings\*****\Application Data\.minecraft\config\Overhaul\scripts and then I drag the folder into the zip which I always do and it works. I even copy and pasted from my pumpkinCreeper.js calling the script to the script file itself (directionalPlacement.js) to make sure it's exactly the same.
And how can i only set a mob on fire on rightclick ?
There are no good examples on the internet ... just the easiest examples ^^
Also, I can't be certain this is even a problem with one mod in particular. You've got loads of them, and there could be conflicts. Sorry.
First off, if Magic Launcher says "No Mods Found" for an external mod... don't worry about it. It's Forge that needs to see the mod, and it will do so even if ML can't. I've got loads of mods that ML thinks are empty, and they all work fine.
Just take the .zip file, exactly as CubeX2 packaged it, and dump it into the /mods/ folder (or the External Mods list if you're using ML), and away you go!
That's probably why it wasn't finding the class files: it was looking where CubeX2 intended for them to be. Don't repackage mods. The author/coder makes them the way they are for a reason.
1) how to add entchanted animation?
2) how to code working fuel item? (mine crashes mc if I put it into the furnance, after restart its in the furnance and the furnance is burning, but the fuel doesnt disappear)
3) how to set a mob on fire at "right click !!!" with itenm on the mob?
3) how to damage specified mobs (e.g. if i only want to damage blazes on left clicking, i want a blaze zeptar which kills blazes and ONLY blazes at one hit)
PS: awesome Mod ^^ Easy and quick if u haven't the time to code your own mod xD
Someone is porting it but I don't know when it is ready.
1) Isn't possible at the moment.
2) Add the following line to your mod.js file:
3) Add this to your item file:
4) Add this to your item file:
No i meant in the ITEMFILE (fuel.js)
I made an Item which should power the furnance for unlimited time:
and added the fuel to the mod.js:
Actually mc crashes if i put the fuel into the furnance. After i restarted mc the fuel is in the fuel box of the furnance AND the furnance is filled with the fuel and burns as long as it should with this fuel BUT the fuel doenst dissapeared.
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Ticking tile entity
A full error report has been saved to C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT d17af422 --------
Full report at:
C:\Users\Michael\AppData\Roaming\.minecraft\crash-reports\crash-2013-02-01_17.37.28-server.txt
Please show that file to Mojang, NOT just this screen!
Generated 01.02.13 17:37
-- Head --
Stacktrace:
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
-- Tile entity being ticked --
Details:
Name: Furnace // anr
Block type: ID #0
Block data value: 3 / 0x3 / 0b0011
Block location: World: (126,68,222), Chunk: (at 14,4,14 in 7,13; contains blocks 112,0,208 to 127,255,223), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Stacktrace:
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
-- Affected level --
Details:
Level name: Test für Mods
All players: 1 total; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Chunk stats: ServerChunkCache: 520 Drop: 0
Level seed: -1341927860
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (121,64,256), Chunk: (at 9,4,0 in 7,16; contains blocks 112,0,256 to 127,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 111752 game time, 128643 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 77408 (now: false), thunder time: 15376 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_07, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 209901384 bytes (200 MB) / 515309568 bytes (491 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 2420 (135520 bytes; 0 MB) allocated, 2148 (120288 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 18 mods loaded, 18 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_SpawnerGUI [mod_SpawnerGUI] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Shelf [mod_Shelf] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_RecipeBook [mod_RecipeBook] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_ams [mod_ams] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_Compression [mod_Compression] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
SC0_EverlastingTools [Everlasting Tools] (1.4.6-Everlasting-Tools-1.0.1.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
ChestTransporter [Chest Transporter] (chestTransporter_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
CustomStuff2 [Custom Stuff 2] (customStuff2_0.9.8d_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
IronChest [Iron Chest] (ironchest-universal-1.4.7-5.0.0.228.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
darkhax_msm [MoreSwordMod] (More Swords Mod 2.3.2 For 1.4.7 .zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MoreFurnaces [More Furnaces] (moreFurnaces_1.3.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
MultiPageChest [Multi Page Chest] (multiPageChest_1.2.2_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
WholeTreeAxe [Whole Tree Axe] (wholeTreeAxe_1.1.4_Universal.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
mod_XPBank [XP Bank] (XPBank.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 1437 (80472 bytes; 0 MB) allocated, 771 (43176 bytes; 0 MB) used
Player Count: 1 / 8; [iq['Binary_101'/255, l='Test für Mods', x=126,64, y=68,00, z=224,54]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'forge,fml'
java.lang.NullPointerException
at cubex2.mods.customstuff2.items.ItemFunctions.getContainerItemStack(ItemFunctions.java:255)
at cubex2.mods.customstuff2.items.CustomItem.getContainerItemStack(CustomItem.java:151)
at anr.g(TileEntityFurnace.java:254)
at yc.h(World.java:2151)
at in.h(WorldServer.java:516)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:680)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at bdz.q(IntegratedServer.java:123)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
--- END ERROR REPORT 426ca093 ----------
Btw, how can i set the block on fire on which the item drops?
The item represents the element fire and should do all what fire do, burning everything it touches xD
An other problem:
My Item:
Error if right clicking on a mob (was a pig):
Thanks for any help in advance.
I have no idea about your fuel problems, but for your fire thing, you cannot use player.damageItem with onHitEntity. You have to use itemstack.damageItem(1); instead.
Last time I tested, there was no easy way to imitate the vine's graphics. However, I did write a script that should work similar to a melon for most purposes. You can find it under the vine grown plants part of the plants page. I should really update the plants page, but until I do, the following information should be enough to figure out how to translate it:
First, my mod works great and we use it on a server, but there are a few items that are buggy
First, axes and hoes do not work as they should, axes ignore effiency for some reason and hoes do not work at all. there may be something extra i need to do to get them to work.
second, i added a new beverage, chocolate milk that is required to make chocolate cake, both of these items do not work.
the chocolate milk does infact work in a crafting recipe but crashes my game if i used it, so it was deleted. all it does if you drink it is do the same effect as milk. it is not intended to be used as a fluid like water or lava
the chocolate cake i can place it but i cant eat it like i would a regular cake, a while ago i tried a script made by flamarrow but it didnt work out. and it should do these things. 1st, when you have the item in your hand, you can right click to place the cake BLOCK, which if you right click again, you eat the entire cake and if you break the block vie left clicking, it drops cake slices that can be eaten individually, there are 6 in total, the cake slices are items not blocks and if you have all 6, you can craft it back into a cake block.
third, i wanted to add 4 new blocks to my mod.
first is a new furnace, that works exactly like the regular furnace, just made from a different materal, for example, stone bricks, or bricks. i can tweak it later if i want it work faster/slower.
second is a cheese block which works exactly like the cake block, you craft it by putting milk into a furnace NOT chocolate milk. and it will need to return the bucket once it is made or just throw one out of the furnace or spawn one, since i believe that custom stuff furnace recipies cant have container items like crafting table recipies.
third, and invisible light block, it simply has no texture on it but can still be placed AND has no collision so you can walk through it but you an still MINE it.
lastly is a new bed, different color wools make different color beds, i.e. orange wool makes an orange bed. that way my players can have there beds be individualized. i have no idea how this would work but it would be better if it used metadata for the ids of the bed and have one base block that is not craftable or accessable in creative mode. that way the beds could be as such.. bedID:1 red bed, bedID:2 blue bed, etc. if this cant be done, please tell me so, if it can, i would love help on this one especially because i have no idea what im doing when it comes to beds.
one last thing, a while ago flamarrow helped me on a wieldable light source using the invisible light block or a modified version, the lantern was supposed to do this.
when held in your hand, it creates an invisible light block over your head that follows you as you use it
when you put the lantern away or change to a different item, it deletes the the light block
if you place the lantern on the ground, it behaves like a torch and makes its own lantern block,
if you break the lantern block, it gives the lantern item back to you.
thanks to everyone who works on this mod. I love how flexable it is and what you can do with it. its been a must have for me and my players on my server ever since 1.2.5!
Fuel problem described above occurs, too.
Software version: Minecraft ver.1.4.7, FML 4.7.4, custom stuff 2(latest version).
Minecraft crashes when the item becomes zero burning.
When I restart it, there is "Item's quantity is 0(or minus), but left" state,
and the quantity has been minus the handling (still not extinguished).
Because, take out the items that were in this state (it looks [1]), when I integrate the item, the item number is decreased.
(Example: [this crashed item] + [same item,but not crashed] *6 -> [item] * 3!)
I think the processing of the item[0] in the furnace, is illegal.
I not see 1.1.5 version and not see O.o 1.1.4 that have currently.
It is a bug that causes this crash. It will be fixed in the next update.
1. Did you set the hardness attribute for your block?
2. I tried it and I got the item back even from the bottom half. Are you using the newest version? And could you post the files for your door?
In the help files in the "Javascript functions" section.
Did you set the toolClass attribute to "axe"?
If you mean with hoes do not work that they don't till, you have to add a simple script to it:
You can't remove potion effects at the moment, so you can do the same effect as milk.
As for the cake you can do this:
For a furnace you need a normal block, a furnace gui and a furnace tile entity. At the moment the furnace can't have on off textures.
furnaceGui.js:
furnaceTE.js:
furnaceBlock.js: (only the important attributes)
mod.js:
This isn't possible at the moment.
It isn't possible to create beds at the moment.
I think this happens due to the crash. It will be fixed in the next update.
1.1.4 is now in the older versions page. 1.1.5 is not there since it is the current version that has its own link in the OP.
// On the bright side, I bought you a teddy bear!
Time: 07.02.13 19:21
Description: Exception while ticking a block
org.mozilla.javascript.WrappedException: Wrapped java.lang.NullPointerException
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1786)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
at org.mozilla.javascript.gen.onUpdate_256._c_script_0(onUpdate:0)
at org.mozilla.javascript.gen.onUpdate_256.call(onUpdate)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
at org.mozilla.javascript.gen.onUpdate_256.call(onUpdate)
at org.mozilla.javascript.gen.onUpdate_256.exec(onUpdate)
at cubex2.mods.customstuff2.ScriptLoader.run(ScriptLoader.java:177)
at cubex2.mods.customstuff2.blocks.BlockFunctions.evaluateEvent(BlockFunctions.java:247)
at cubex2.mods.customstuff2.blocks.BlockFunctions.evaluateEvent(BlockFunctions.java:239)
at cubex2.mods.customstuff2.blocks.BlockFunctions.updateTick(BlockFunctions.java:93)
at cubex2.mods.customstuff2.blocks.CustomBlock.b(CustomBlock.java:58)
at in.a(WorldServer.java:567)
at in.b(WorldServer.java:178)
at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:669)
at ho.r(DedicatedServer.java:270)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at fy.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at zz.a(Chunk.java:768)
at zz.a(Chunk.java:663)
at yc.b(World.java:588)
at yc.e(World.java:697)
at cubex2.mods.customstuff2.scripting.ScriptableWorld.setBlockId(ScriptableWorld.java:58)
at cubex2.mods.customstuff2.scripting.ScriptableWorld.setBlockId(ScriptableWorld.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
... 20 more