Inactive [MECH/DEV] ItemCraft 1.6.6 - Support for client mods in Bukkit [1060/1000]

Discussion in 'Inactive/Unsupported Plugins' started by asdaarg, May 3, 2011.

  1. Offline




    ItemCraft is a Bukkit mod that allows adding new item and block types, crafting and furnace recipes, and custom tree generators and more. Using a Modloader and SettingsGUI interface it allows subplugins known as ICPlugins to be loaded to support client mods. ICPlugins can be created by translating a client mod using the ICTranslator ICplugin. Using a ModloaderMP interface (ported by krnlyng/liar) it allows porting multiplayer mods to bukkit.

    • Add more Block types
    • Add more Item types
    • Add more Entity types
    • Add more TileEntity types
    • Add more Crafting recipes
    • Add more Smelting recipes
    • Add more Tree generators
    • Ported ModLoader interface
    • Ported ModLoaderMP interface
    • Fake GUIAPI Settings interface
    • Startup file for configuring plugins and making simple blocks and items

    Installation & Usage:
    • Back up your world(s). Just in case.
    • ItemCraft.jar goes in same folder as craftbukkit
    • IC plugins go into ItemCraft/ICPlugins folder under craftbukkit. (folder is autocreated the first time)
    • uncomment (remove #) in front of all plugins you want to use in plugins.ics (autocreated in ItemCraft/ICScript)
    • Make sure you have the recommended version of craftbukkit in the title - since this is a mod of that version in particular.
    • Delete/rename the META-INF folder inside craftbukkit-0.0.1-SNAPSHOT.jar (Use some decent zip program (e.g. 7zip) that can do it.)
    • All players on the server needs to have the client mods installed
    • If you use the 16 bit entity id packet mod (in case you use new entites (only ICMCreatures need it)), All players need (flan's unofficial) ModLoaderMP client mod
    • All players also need the 16 bit entity id packet mod (overwrites a ModLoaderMP's class so make sure ModLoaderMP is installed first) in case you use new entites (only ICMCreatures need it) If decide not to use the packet mod, you can turn it off putting this in your startup file: false setEntityIDPacketMod
    • Sometimes you get block/item ID conflicts, between plugins. You then need to set the conflicting ids in the startup script using setID command: example. They have to be set before the plugin that uses them is loaded. Note also that there is typically a props file on the clientside you have to edit the ids on to be the same as well.
    • To start:
      • Windows:
        java -Xmx1024M -Xms1024M -cp ItemCraft.jar;craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main
      • Others:
        java -Xmx1024M -Xms1024M -cp ItemCraft.jar:craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main
      IF You do not understand how to install this follow THIS link! Also Try:

      ItemCraft Forum
      ItemCraft Wiki


      Installation instructions changed since 1.5

      For Minecraft 1.7.3

      Inofficial ItemCraft update by Syrome1.6.6 (#1060)
      ItemCraft 1.6.5 (#1000)
      QwertyPower files (ICSGlass, ICFancyPack addons and more...)
      o4kapuk 16 bit packet mod Does not work without (flan's unofficial) ModLoaderMP client mod.
      ICKSlopes - support for Kaevator SuperSlopes
      ICNTrees - support for Nandonalt's Trees mod. Details regarding use Ignore ScotTools or you will have problems breaking various blocks
      ICFancyPack - support for ChocolateySyrup's FancyPack unofficial update for 1.7.3 mod Details regarding use of potted plants IDs and settings
      User ported mods list maintained by icephantom

      For Minecraft 1.6.6

      ItemCraft 1.4.5
      ItemCraft 1.5.1 (for use with planes)

      ItemCraft 1.3.5 (for CB #818)
      ICSGlass - support for ChocolateySyrup's Stained Glass unofficial update for 1.6.6 mod
      ICFancyPack - support for ChocolateySyrup's FancyPack unofficial update for 1.6.6 mod Details regarding use of potted plants Also be sure to read: Release notes Does not work well and not at all with the newest FancyPack update(v6) Wait until client is stable.
      ICKSlopes - support for Kaevator SuperSlopes
      Usage notes
      ICNTrees - support for Nandonalt's Trees mod. Details regarding use
      ICMCreatures - Support for DrZhark's Mo's Creatures
      16 bit entity id packet mod
      User ported mods list maintained by Asymetrikon

      Dev tools:
      ICTranslator - How to use

      Source and old versions

      ICScript documentation

      Frequently Asked Questions

      Tutorial on how to make your own blocks also list of block and item IDs in most popular mods.

      Suggestions of mods to port
      Vote here not in this thread anymore (it gets lost in all the other stuff)

      Reporting errors:
      • Read known issues - don't report those.
      • State the version of CB, ItemCraft and ICPlugin(s) you have problems with
      • If your client crashes, start the client from command line so that you get the error report.
      • Make sure the mod(s) works in SSP First before you report any errors here.
      • You are more likely to get a response if you describe the problem in more detail and do some testing yourself first of under what circumstances it occurs
      • Do not ask for uploads of minecraft.jar.
      • Do not pm me.
      • If you have problems installing, you are likely doing something wrong. Make sure you've followed the instructions exactly, read the FAQ and Wiki. If that doesn't work you can always ask in the thread, while I will likely not reply, there are others who can help you with your problem. But at least try to get it working yourself first.

      That said, I want to thank all who have helped users with their problems. In particular special thanks to icephantom and Asymetrikon for their big efforts in this. Also a special thanks to xeronut for being generally helpful.

      Changelog: (open)

      • Inofficial update by Syrome to support CB #1060 and ModloaderMp v1.7.3v4.
      • Added changes by krnlyng/liar to support buildcraft
      • Inofficial updated by Qwertypower to support CB #1000
      • Fixed Generators not working since ModLoaderMP merged.
      • Added option to turn off packet230 being sent to clients: false setPacket230OnLogin
      • @QwertyPower's unofficial update to 1.7.2 and 1.7.3.
      • Fixed issues with ICPlugins not being able to use ModLoader methods obtained through relection.
      • Merge with @krnlyng/liar's translated vesion of SDK's ModLoaderMP
      • Added dummy method RegisterTileEntity to fake modloader.
      • Added dummy methods AddArmor and getUniqueSpriteIndex to fake modloader.
      • ItemCraft commands are now loaded automatically and can be used in init.ic
      • Fixed nonesense message when parsing a string and EOF is found after escape character.
      • Platform independent line breaks of autocreated files
      • added some stuff in the autocreated file
      • Fixed unupdated mod causing problems for other plugins accessing the enum's constants for new block ids 1.6.
      • Removed spam on use command
      • Fixed java method invocation
      • Added javamethod invocation of declared methods
      • Fixed pop removing 2 elements off stack
      • putsetting command, allowing editing settings using new script
      • putvar and getvar commands allowing use of variables in scripts
      • added if command, conditional execution of closures
      • ishidden, isCustomType and getCustomType commands
      • exec command, allowing execution of closures. Acts as function calls.
      • while command, for while-loops, execution of closures.
      • Annotation of non-standard methods allowing correction of semantics during parsing with methods that manually alter type info. (needed for for loops, and various stack commands (such as popall, push, pull,dup, casting, getvar, all that do not have a static type signature) to have any usefulness beyond execution using GUI.
      • added casts
      • Fixed setEntityIDPacketMod demanding a this pointer.
      • Fixed boolean constants missing.
      • Updated to CB #860
      • GUI is now off by default
      • Fixed illegal access of Item constructor and other methods
      • 16 bit Entity Id Packet mod can now be turned off
      • Added file loading functions that use filename rather than file class for Fileman, for use with Janino
      • Fixed intellisense being screwy, showing previous context
      • Fixed castability test of primitive types to primitive types being screwy
      • Fixed selected method in context view not being visible (scrolled down/up to).
      • Fixed array bounds error
      • added intellisense (context box showing sorted list of all applicable methods in context at cursor position, as well as selecting the one closest matching)
      • added tooltips showing documentation both in command box and in the context (list) box
      • added getmaterial method to get Minecraft's materials
      • added documentation to most methods.
      • removed some obsolete methods
      • renamed some methods
      • remove NAME: spam on classloaderlclass, 1,2,3 4.. spam and vs: spam
      • fixed classloaderlclass leaving junk on stack
      • fixed getconstructor (?)
      • fixed right square bracket without left square bracket not resulting in parse error
      • fixed parse to fail due to right bracket not yielding an array type
      • removed autocreate double spam
      • ics extension changed to ic (conflicting with korganizer and iCalendar)
      • moved plugins into plugins.ic (since it now doesn't execute "use" until it parsed the whole file, it doesn't
      • recognize ItemCraft functions in init.ic)
      • added setID
      • added back support for old file format using includeold
      • fixed execution of abstract script calling providing arguments in wrong order
      • ICScript is now completely converted into postfix
      • Completely rewritten script parsing and execution code
      • Math functions should work now
      • Scripts Are not executed until fully parsed
      • ICS now support direct invokation of java functions when no ICS function matches a call
      • ICS now support arrays
      • ICS now support closures (for later support for menus, functions, loops, conditionals)
      • Parser produces Abstract code that runs much faster, than when having to parse each time to execute code.
      • Pre 1.0-style startupfile scripts are no longer supported (for now)
      • Warning of Block loss with prompt to quit CB on any error during parsing
      • Warning of Block loss with prompt to quit CB if startup script file was not found and was autocreated. This way you can have it autocreate it safely without having to worry about loss of blocks during upgrade.
      • Detailed error reports during both parsing with line number and column and during execution.
      • added simple math functions
      • added basic string and character functions
      • fixed methods popping more than one element
      • fixed dup not duplicating
      • added primitive classes
      • added parsing of primitives as primary commands
      • added parsing of strings as primary commands
      • fixed identifier after a string being misparsed
      • fixed popup menus not working in windows
      • added methods to get icplugins and their classloaders
      • added methods to get constructors and invoke them
      • Implemented new functional script language ICScript
      • Implemented GUI
      • inclusion of files (so you can split up startupfile in smaller files)
      • loading plugins on the fly
      • executing any script commands on the fly using GUI
      • exploring variables and functions of objects in GUI
      • invoke any functions, private or public, on any class loaded in IC/ICPlugins/minecraft/CB/any bukkit plugins
      • Built in text editor (was going to be for editing java code)
      • Removal of blocks, entities and items, even on the fly
      • Adding new blocks, entities and items on the fly
      • Specify what entities spawn in what biomes and how frequently.
      • Customizable programmable menus per node type in GUI
      • IC now retrieves version number both for plugins and itself automatically and reports it when plugins are loaded
      • fixed mimic having target object mimic itself.
      • fixed invokation on wrong object when interacting with mimiced block
      • fixed setint setting a string and not an int
      • fixed case sensitivity of block parameters
      • fixed some other bugs related to block parameters
      • no more commas assigning multiple values in block parameters (because I'm lazy)
      • Mobs that are unspawnable don't crash the server anymore
      • Added new startupfile commands: blocks and entites
      • Added new startupfile commands: setbool, setint, setfloat, setdouble, that allows changing the settings of mods that use GUIAPI (nandonalt trees and mo's creatures)
      • fixed various bugs with craft command in startup script
      • removed debug spam on id command
      • fixed comments causing "unknown commands" in startup file
      • cleaned up unnecessary stuff from error report
      • fixed skip skipping over the next line too
      • Implemented modloader removespawn (could that have anything to do with the watermob problem?)
      • fixed unknown command spam on empty lines
      • fixed some bugs with craft command in startup file manager.
      • Fixed kicked when horse throws you off because of accessing protected field
      • Fixed problems adding recipes, tile entites, entites using API.
      • added items command for debug purposes
      • added a copy of spawncreatures to the mod, no idea if that will solve the issue with sharks crashing server.
      • Mimic feature of block allows block to mimic other blocks, fully or in some respect (useful to customize blocks beyond the fixed values from startup file)
      • back to start from craftbukkit folder; its no longer a plugin
      • IC plugins go into ICPlugin folder now in craftbukkit folder. These are to avoid problems caused by plugins being reloaded by CB
      • usedefaults on by default
      • fix item 0 is not valid item spam
      • implemented Modloader getUniqueEntityId,RegisterEntityID,setPrivateValue
      • implemented various SettingsGUI widgets facades, and SettingFloat, SettingsMulti
      • script pauses when error occurs to avoid startup with wrong settings
      • Items are also registered as dummy, to avoid error spam by other plugins
      • Modloader world generator interface for normal type worlds implemented
      • Barebones fake GUIAPI interface that loads default settings (might add ability to modify options through startup later)
      • Added fix for blocks not having dummy material in ICFancyPack that inherit the Block class directly
      • Dummy id changed to 255
      • Added support for Entities in API
      • Added support for adding mobs to biome spawnlist in API
      • Added support for adding tilentities in API
      • Added fake modloader for to interface with translated mod plugins
      • Added more detailed output when plugin loading fails.
      • Backward incompatible update to 766
      • Added ability to set data on input items in crafting recipe
      • Added ability to comment in startup file with #
      • Added more error handling.
      • Fixed unable to craft out of nonblocks
      • Added more error handling
      • Partial support for GUIs
      • Mod for custom tree generation
      • Custom Tree generation API
      • Custom Tree generation startup file instructions:tree,treebiome and biometreedensity
      • Added mod of org.bukkit.Material to accomodate new block types, should reduce at least some errors other plugins have.
      • Fixed Item id being offset by 256
      • Fixed startup script created Blocks not being added to item list
      • Added more error handling
      • Fixed ItemCraft not starting because of spaces in the path on windows machines
      • Fixed regexp error on windows when starting as plugin
      • More error handling added
      • Fixed freeze when adding new block properties using startup script
      • Now doubles as plugin, so you can start it as a plugin rather than a mod
      • Startup file autocreation
      • loud startup file instruction- prints out more info at startup
      • a whole lot more error handling
      • fixed bug not being able to load any other plugin that KSlopes.jar (what am I thinking)
      • Most if not all simple constant Block properties now definable from the startup file.
      • Better error handling
      • More complete Block API
      • Syntax correction
      • Initial Release
      • Made compatible with IC 1.0
      • Syntax correction
      • More information on startup
      • Fixed slopes and corners dropped having wrong data.
      • Initial Release
      • Introduced options to change settings and IDs
      • Disabled new bookshelves
      • Updated for 1.7.3
      • Fixed another NPE on startup
      • Fixed NPE on startup
      • Updated to unofficial version of 1.6.6
      • changed class path for flower, cactus and reed
      • Fixed not able to place in potted plants
      • Fixed blockcycler interaction
      • Added potted plants
      • Initial Release
      • Updated to 1.7.3
      • Fixed static construction of objects problem
      • Fixed no tree generation
      • updated to 1.6.6
      • fixed clicking on bananacake blocks, fruit leaves
      • fixed using fertilizing
      • fixed activating banana cake
      • Initial Release
      • Updated to 1.6.6
      • Made everything public and even added a public ()V constructor in water mob class (no idea if that will solve it though)
      • Says its loaded on startup when its loaded
      • Initial Release
      16 Bit Entity ID Packet Mod
      • Supports both 16 bit and 8 bit servers
      • Initial Release
      • Fixed conflict with glass bug
      • Initial Release
      • Fixed no output on windows machines.
      • More informative about files to translate not being found.
      • Made it tolerate there being no file separator at the end of retroSource.
      • Removed some spam.
      • Added checks that make sure you have all the necessary maps specified, when you translate.
      • Initial Release
      • Update to 1.7.3
      • Initial Release

      Donate (Not necessary but appreciated)
  2. Offline


    I'm running craftbukkit 766 and I just tried what GrindGod had put, moving the Itemcraft to the same place as CB and changing start to run, but now I get this

    C:\Users\Rachel MKII\Desktop\Server with mods>java -Xmx1024M -Xms1024M -cp plugi
    ns\ItemCraft.jar;craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main
    146 recipes
    16 achievements
    12:42:43 [INFO] Starting minecraft server version Beta 1.5_02
    12:42:43 [INFO] Loading properties
    12:42:43 [INFO] Starting Minecraft server on *:25565
    12:42:43 [INFO] This server is running Craftbukkit version null (MC: 1.5_02)
    12:42:43 [INFO] Preparing level "world"
    12:42:43 [INFO] Preparing start region
    12:42:44 [SEVERE] Could not load 'plugins\KSlopes.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/asdaarg/bukkit/itemcraft/ItemCraftPlugin
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at Source)
            at Source)
            at$000(Unknown Source)
            at$ Source)
            at Method)
            at Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at net.minecraft.server.MinecraftServer.e(
            at net.minecraft.server.MinecraftServer.a(
            at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.ClassNotFoundException: com.asdaarg.bukkit.itemcraft.ItemCr
            at$ Source)
            at Method)
            at Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 24 more
    12:42:44 [INFO] [Permissions] (Phoenix) was Initialized.
    12:42:44 [INFO] Bukkit version format changed. Version not checked.
    12:42:44 [INFO] Loaded Essentials build 2.2.15 by Zenexer, ementalo, Aelux, Bret
    tflan, KimKandor, snowleo, ceulemans and Xeology
    12:42:47 [INFO] [iConomy] Logging is currently disabled.
    12:42:47 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    12:42:47 [INFO] [iConomy] Developed by: [Nijikokun]
    12:42:47 [INFO] Lampstone version 0.6 is enabled.
    12:42:47 [INFO] [Lampstone] 0 lampstones loaded.
    12:42:47 [INFO] Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.
    12:42:47 [WARNING] Lockette: Craftbukkit build unrecognized, please be sure you
    have build [561] or greater.
    12:42:47 [INFO] [Permissions] version [2.7.2] (Phoenix)  loaded
    12:42:47 [INFO] [iConomy] hooked into Permissions.
    12:42:47 [INFO] Lockette: Linked to Permissions plugin version 2.7.2
    12:42:47 [INFO] Lockette: Using ops file for admin permissions.
    12:42:47 [INFO] Lockette: Ready to protect your containers.
    12:42:47 [INFO] [mcMMO] Permissions enabled.
    12:42:47 [INFO] mcMMO version 1.0.07 is enabled!
    12:42:47 [INFO] NaturalGiants version 1.3 is enabled!
    12:42:47 [INFO] [PorteCoulissante] plugin version 1.2.1 by Captain_Chaos enabled
    12:42:47 [WARNING] [PorteCoulissante] plugin could not determine CraftBukkit bui
    ld number!
    12:42:47 [INFO] SecretDoors v0.2 by MrChick enabled
    12:42:47 [INFO] SimpleSave: 2.2.1 Initialized
    12:42:47 [INFO] SimpleSave: Current save interval is 20 minute(s)
    12:42:47 [INFO] SimpleSave: Current backup interval is 60 minute(s)
    12:42:47 [INFO] Turnstile 1.6.1 is enabled!
    12:42:47 [INFO] Turnstile Successfully linked with Permissions!
    12:42:47 [INFO] Turnstile Successfully linked with iConomy!
    12:42:47 [INFO] [uQuest-ShowTracker] uQuest system not enabled. Disabling plugin
    12:42:47 [INFO] [uQuest-ShowTracker] version 0.1 is disabled!
    12:42:47 [INFO] [uQuest-ShowTracker] version 0.1 is enabled!
    12:42:47 [INFO] Done (0.418s)! For help, type "help" or "?"
    Ok, I'm guessing it must have been another mod, I deleted everything, downloaded a fresh ItemCraft, Kslopes, and CB 766. I put Itemcraft and Kslopes into the plugin folder, and saved the new start command as run, and it works. I can craft and place new blocks, and after I log out, leave the chunk, stop the server, they are still there.

    Now I'm off to figure out if it was an outdated Mod or if it was a mod that just didn't want to play nice with ItemCraft/Kslopes.

    Thanks for bearing with me <3

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  3. Offline


    My guess it isn't another mod, but that you were using a different version of CB. The first log you posted shows that ItemCraft doesn't start before the world is loaded despite using the command line, which most probably means that you were using an earlier version. ItemCraft should not be put in the same place as CB (that's old instructions that somehow still floating around)
  4. So lets say I want to add a mod like Risugami's Elemental Arrows? Is it possible? If so, how would I do that?
  5. Offline


    this sounds very great. i always wished to have this for multiplayer and now even for bukkit! *happyface*

    but may i question:

    does this also work for other singleplayer based mods? (sorry if i am not reading all the pages right now but 5am and preparing for work besides :p)


    could this at some point even import items / creatures?

    anyway since we do not wanna overdo it right now i am very happy to see what you managed to archive until now, a lot of respect for it and i hope it goes on like this :D!
  6. Offline


    Have you nagged the author of Pistons to create a plugin, or has anyone started it? It'd be SOOOOOOOOOO AWESOME.
  7. Offline


    Hey I have a question ,
    so im not good at english and thats what i understand what the mod does.
    If Item Craft is running on the Server i can add blocks and then all Players can Craft them or ?
    And need i Kaevator SuperSlopes ? its clientside but i want these blocks or can somenone give me his selfmade blocks ?
  8. Offline


    I'm getting a lot of these types of questions. I don't know what mod does what, and I don't really have time to check them out all. ItemCraft can only do the things stated in the OP.

    As for the other posts, I suggest you read the whole post before you post.

    Creatures are entities that are not supported at the moment, and probably wont be, because dyncraft/pogic already does it and I don't want to duplicate effort unnecessarily.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  9. Offline


    can you give me a link to pogic?

    regarding dyncraft
    i kind of lost my hope in dyncraft to be ever released. besides the fact that the author claimed he had an alpha ready 1.4 version and never released it for testing he is now also unable to simple put a video up he also claims to have already finished.

    even if it is developed...
    considering his speed and willingness to release things it wont be up before notch releases his own api
    its unlikely to be updated in a reasonable timeframe whenever a new minecraft update comes out.
    dual★moon likes this.
  10. Offline


    I also lost hope on dyncraft a while ago and I am not willing to participate in closed alpha testing because of that, also not a big fan of java.

    This looks far more better than dyncraft :)
  11. Offline


    I concur. The first time I read about DynCraft, I was very enthusiastic but now... I have also lost my hope. With ItemCraft, even if it's less powerful, I'm sure that it works and it's very cool !
  12. Offline


    The thing is, this sort of thing is a lot of work. Most of it is very easy, but tedious as it is a lot in amount. It doesn't get done for 2 reasons combined. Part of the work requires knowledge of java and experience with the mc server and client and how they work. This is the harder stuff. The other part, the overwhelming big part of the work doesn't actually require much knowledge of anything at all, just patience. If people would be willing to help me out doing it, it would speed this up and I may even add entities and other things like custom world generation and full GUI support.
  13. Offline

    Michael Murphy

    I've checked out the correct commits from git for bukkit #681 and CraftBukkit #766. Everything compiles fine, I delete the META-INF from the server jar and launch the server with
    java -Xmx1024M -Xms1024M -cp plugins\ItemCraft.jar;craftbukkit-0.0.1-SNAPSHOT.jar org.bukkit.craftbukkit.Main
    but I am receiving an error about item id 167 being in use, when there's no other item mods installed.
    2011-05-13 14:57:52 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-13 14:57:52 [INFO] Loading properties
    2011-05-13 14:57:52 [INFO] Starting Minecraft server on *:25565
    2011-05-13 14:57:52 [INFO] This server is running Craftbukkit version null (MC: 1.5_02)
    2011-05-13 14:57:52 [INFO] ItemCraft 0.4.4
    2011-05-13 14:57:52 [INFO] 32000id:167is not free for usenet.minecraft.server.ItemBlock@682bc3f5
    2011-05-13 14:57:52 [INFO] ItemCraft: Problem initializing KSlopes.jar
    2011-05-13 14:57:52 [INFO] java.lang.NullPointerException
    2011-05-13 14:57:52 [INFO] [com.asdaarg.bukkit.kslopes.KSlopes.ItemCraftInit(
  14. Offline


    I can't help much because I am heavily lacking the java knowledge part, but I can help out on testing things, weather they work or not.

    P.S. Got support from [MOD] Ye olde minegunner / b1.2 mods author and hopefully if I succeed by checking out how the mod works, I might even get it working on 1.5_01 client side, and since I am not sure what counts as entities and what isn't, what can you say about custom projectiles asdaarg? It probably uses similar way how the arrows work (not sure yet), but can tell you more about it when I have time to check the source, that he sent me about 5 min ago :)
  15. Offline


    Arrows are unfortunately entities. The thing I need help with is the name mappings between the obfuscated code and bukkit. With the mapping I can translate mods at least semi-automatically. Without the mapping, there is an inherent "linguistic" barrier for any mod makers to make the plugins, despite the work I've done so far, there is a lot of obfuscation left in mc as well as the bukkit internal names which are different from mcp names. I've asked at the bukkit discussion forum though if there is such a list of mappings already, and that's probably what the bukkit team uses during updates, i'm not exactly sure how the process goes.

    Try and /give yourself 167 withour running itemcraft and see what you get.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  16. Offline


    What about custom doors?

    Total crap, I stumbled on a crappy limit (I belive thats a limit within the game):
    java.lang.Exception: No more empty terrain sprite indices left!
        at net.minecraft.src.ModLoader.getUniqueTerrainSpriteIndex(
        at net.minecraft.src.ModLoader.getUniqueSpriteIndex(
        at net.minecraft.src.ModLoader.addOverride(
        at net.minecraft.src.mod_extended.<init>(
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at java.lang.Class.newInstance0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at net.minecraft.src.ModLoader.addMod(
        at net.minecraft.src.ModLoader.readFromClassPath(
        at net.minecraft.src.ModLoader.init(
        at net.minecraft.src.ModLoader.AddAllRenderers(
        at net.minecraft.src.RenderManager.<init>(
        at net.minecraft.src.RenderManager.<clinit>(
        at net.minecraft.client.Minecraft.startGame(
        at Source)
    No more empty terrain sprite indices left! Means, that even with the modloaders texture override, the game has a limit for terrain.png texture sprites... and the only way to bypass it is by using the below posted mod.

    Also found something VERY, VERY interesting:

    From the post I understood, that he managed to make the game use 1024 block ids, and the rest for items :confused:

    Why am I posting this, well I bumped into "No more empty terrain sprite indices left!" Error, which basically means, that Modloader has a limit for item texture overrides, of which I didn't know anything about it, and now I have to rethink about my concept. This totally screwed up my plans about my Extended Minecraft mod for Multiplayer, any thoughts about that mod in the link asdaarg? Could your plugin work with if I would use that mod? :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  17. Offline


    Its probably doable since they are blocks, but doors are complicated I'm pretty sure.

    That's a strange number. He would have to store the id in a short, but what is he doing with 6 other bits is beyond me. Or maybe he made some custom bitarray. If I'd do this I'd go all the way with 65536 ids.
    I did have that in the back of my mind, since the texture.png is of a limited size and Modloader appaered to just copy in those textures. Perhaps it can be overriden by making a larger png or have more pngs, but it did not look too simple when I last time had a look to see if its reasonably doable.
    No, not in its current state, since i'd have to figure out first how he managed to get 1024.

    Edit: As I suspected: "Be warned this does change the way chunks save. "

    I have no idea if this will be sufficient, but I'm looking at modloader, and there is an addspawn function. I could make a similar one for ItemCraft, and it might just work right off the bat to add new creatures.
    Edit: there's also a method to register entities that I need. Modloader is a great resource, I could make ItemCraft into a modloader for bukkit :)
    Edit: added addEntity and addTileEntity to API

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  18. Offline


    hi again...

    now that i have tested for some days i want to write down some suggestions/feedback/ideas...

    1. Writing the code for the startup.txt isn´t that difficult but takes time.. what about an interface to shorten this process writing the code automatically to the file?
    2. Keeping track of all ID´s/metadata or entities could be hard... what about an automatic search for free ID´s etc..
    3. What about switching between different startup.txt
    4. Or further.. when i am starting the server itemcraft searches in a specific folder what mods are installed for the client and loads the defined file(s) for the mods?
    5. I don´t know much about server-client interaction but i thought if it is possible that the server has a specific custom sound for a block and the client in some way streams this sound... or better... client tries to log in and the server forces the client to download and update all files from a serverside specified location if they are not identical...

    Okay as you can read in this suggestions/ideas i have no idea about coding/programming^^ and i know you have a lot work to do with this plugin.. but this are just the things i thought about as "user"

    btw no big problems for my server so far.. all blocks work as they are supposed to..
  19. Offline


    I did a little testing with Fancypack. I ran into some Problems but most things are working.
    Paper Lantern, Metal Cage and Iron/Goldfence are working great.
    Metal Chains are craftable, visible and placeable. But when i break them no Item appears and they reappear after 2-3 seconds.
    Chairs, Tables ,Slabs and Chimneys are craftable, placeable and they appear after breaking. But they are all invisible in the Inventory or when they are dropped as Items. When i place them the are visible.
    I suppose im doing something wrong with the startup file because Chairs,Tables ,Chimneys and Slabs can be made of more than one material. But i didnt figure out how to make recipes where more than one material is possible as ingredient.
    As for the Chains i have no clue why they behave like this.
    Here is my startup file. Server log runs without any Errors. words in () i just put for a better overview.

    config usedefaults
    plugin KSlopes.jar
    block 34  (Paper Lantern)
    craft 34 1 0
    block 119 (Chimney Block)
    craft 119 1 0
    block 32 (Chain)
    craft 32 1 0
    block 33 (Cage)
    craft 33 1 0
    block 123 (Iron Fence)
    craft 123 1 0
    block 31 (Gold Fence)
    craft 31 1 0
    block 105 (Table)
    craft 105 1 0
    block 106 (Chair)
    craft 106 1 0
    block 107 (Slab)
    craft 107 1 0
    btw: does someone know the ItemdIDs from the Stainedglass Mod? Cant find them.
    And it would be great if there were some kind of explanation for all the different values. A few are easy to figure out. But others are harder.
  20. Offline


    i have the same issues with slopes (from the KSlopes mod/plugin). when i break them some are visible some are invisible in the invetory.... i suggest the slopes with metadata are invisible - i will test this..

    tested with and without metadata - both were dropped an visible...don´t know seems as this appears random or it has nothing to do with metadata..
  21. Offline


    Hmm slopes runs without errors for me. All items are visible.
  22. Offline


    I have got the same problem of invisible slopes today. It occurs after I blew them up with TNT. But there was only 3 or 4 invisible slopes out of 100 one.

    @Asymetrikon : I'm also working on the FancyPack. Why do you use bookselves to craft the paper lantern ? It's suppose to be paper sheets. Anyway, I can't break them without crashing my server.

    For the tables and chairs (And for slabs too), it's normal that they are invisible in your inventory. FancyPack uses another Id to show tables and chairs as items. For the wooden one, you have to do this :
    Material WOOD
    #FancyPack Chair 1
    Item 2071
    Block 106
    craft 2071 4 0
    #FancyPack Table
    Item 2066
    Block 105
    craft 2066 4 0
    Item 2071 is the item for the wooden chair and item 2066 is the one for wooden table. But if you do that, you will be unable to place them on the world because of a missing feature for the plugin (At the moment) . But Asdaarg is working on a fix for this. :)
  23. Offline

    Michael Murphy

    I'm working on something similar to modloader for the custom content, except that it will have the ability to have multiple spritesheets. This does mean that I will have to upkeep a texture pack for it, but it's worth it to me. All you will have to do is write your own custom content implementations/mod adding the blocks exactly how they're defined within the Block or Item class on the client, and it will know by the texture index id which spritesheet it's on.

    Edit: You will still need to extend where block ids and item ids meet, but that is easy code on the client side as well, unless you decide to use metadata for extra block types on each block. That'd be really clean.
  24. Offline


    @ Tutu
    Bookshelves were my fault i mixed sth up. :)
    I tried the Code for the Chair and Table.
    They are visible as Items now but i cant place them anymore just as you said. Damn. :p
    I really need to figure out the different Blockvalues. English is not my natiive tongue, so it can be tedious sometimes. hehe

    @asdaarg: This Plugin is really great. I have much fun experimenting with it. Keep up the good work. :)
  25. Offline


    When Asdaarg will have fixed the placement problem, I will try to add all the FancyPack. :)
  26. Offline



    You are our only hope now, read this thread, the author of Dyncraft claims, that his HDD is basically dead, so he will be working on dyncraft from scrap - seems like it will take some time and well with that went my last morale on hoping to get my hands on that mod... so keep up the work, community is counting on ya! And for now I am trying to figure out how to not use extra block ids from extended minecraft mod, but to use only the custom terrain.png option from that mod, hope it will solve many of my problems and I can get back to work on making my super uber plugin for minecraft :D :D :D.
  27. Offline


    1. I'm not good at GUIs if thats what you mean, but anyone can volunteer to do that
    2. I thought of that first, but it doesn't really make sense if the modloader picks its ids differently.
    3. Then you can just rename the files.
    4. I've thought about that too, maybe I will do this at some point, but right now its too much of a hassle.
    5. I don't know either about whether the sound ids are sent over to the client or not. There are "stepsound"s on the server, but it might just be Notch's laziness. About automatic downloading ItemCraft isn't Pogic or Dyncraft, so that's not going to happen.

    Btw, I'm very close to a breakthrough with the automatic translation. I've got the MCP retroguarded names mapped to the bukkit names on the Block class, but I have no idea if this will work on all classes. If it works on a few key classes, it will however allow classes confined to usage of these, that are made for the client to be automatically ported to ItemCraft/Bukkit. I could soon be post a huge list of miniplugins of blocks, items, creatures, world generators, you name it :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 14, 2016
  28. Offline


    Sounds awesome :)
  29. Offline


    Hi i have just installed the plugin 0.4.4craft bukkit buil 766 everything starts up fine the plugin loads before the world does and it loads all of the Kaevator blocks but when i try t0 give them to me using too many items i get this error message in the console

    and the server kicks me with the error message Internal exception: bad packet id 64

    and this if i try and give an item with the /give command

    and with this method the client crashes to desktop
    however if i craft them from scratch they work just fine and i can place them and they stay why is this?
  30. Offline


    Kapeesh44, the Too many items mod is buggy all alone on multiplayer and has glitches, try some bukkit command plugins maybe to give yourself the blocks?
  31. Offline


    @Kapeesh44 : What are you using to do your /give ? Essentials ? If yes, you will always got an item with Id -1 because the /give function make some thing @asdaarg has explained to me but that I can't remember well. :p

    tl;dr : you can't use a /give command from a plugin (The CraftBukkit one is working) to get items added with ItemCraft.

Share This Page