Smart Items

icon

Smart-items


The goal of this mod is to allow items on the ground to interact with the block below and give Dispenser some new abilities.


  • Saplings that land on dirt or grass will plant themselves.
  • Crops that land on farmland will become Planted in a 3x3 area.
  • Nether wart will plant on its self on soul sand in a 3x3 area.
  • Bone meal that lands on/in a plant will cause it to grow.
  • Items Passing over a powered workbench will be Crafted into the item in its Item frame.
  • A powered workbench can Craft water potions if water is above the workbench.
  • A Powered cauldron will pick up Items Below it, and place into a container, or on top.
  • If an Item Frame is placed on a cauldron or hopper it will only accept items like the one in the frame.
  • Tools in dispensers will affect a cone of blocks directly in front the dispenser, and animals. (Shovels , Axes, Pickaxes, Hoes, Fishing Rods, and Shears)
  • Food near two animals will cause them to breed.
  • Empty buckets near cows will fill with milk.

Tips and Tricks



Images of some Gagets
Vsit the Tips and Tricks Page for more ideas.




How To Install and run


  1. Download the plugin
  2. Place .jar file in your plugins directory.
  3. edit/create Config File
  4. Run the server.


config.yml


CropPlantingTimer: 120 # time in ticks before a seed plants
TreePlantingTimer: 120 # time in ticks before a sapling becomes a sapling block
UseWorldGuard: true # Will disable tree planting, dispenser tools and blocks in any region.
AllowAutoCraft: true # allows auto craft system
AllowBreeding: true # Stops animals from making babes when near food.
AllowCauldronLift: true # turns off Cauldron ability to lift items.
Arrows2Items: true # arrows become arrow items after impact.
DispenserUsesTools: true # allows Dispenser to use Tools
AllowDispensingBlocks: true # allows Dispenser to drop blocks as blocks
DispenserRange: 1 # extends range of Dispensers tool use 0 = 3x3, 3 = 3x6
DisabledWorlds: world1_nether,world1 # worlds ignored by the mod.




Know Problems


  • Delete old Config Files to prevent crashes!
  • Problems with new Tree types
  • Some Auto Crafting problems with complex items, like fireworks.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of CommodoreAlpha CommodoreAlpha Oct 13, 2014 at 18:40 UTC - 0 likes

    Just wanted to let you know I've been getting this error recently - by the looks of it, it has to do with the WG dependency. I'm using a 6.x version of WG instead of a 5.x version, which may explain this error.

    Sure, I'd love to include my server IP here. But it's under construction, and I wouldn't want to get sued for players wandering inside and getting hit by a random beam of steel floating about. And no, I doubt plugins would make very good lawyers either. I've never seen a plugin that forced you to sign a contract do so well.

  • Avatar of Splated Splated Aug 17, 2014 at 05:27 UTC - 0 likes

    @CommodoreAlpha: Go

    Im planing to move, auto crafting , auto planting, hopper filters, and auto breeding to http:dev.bukkit.org/bukkit-plugins/splat-co-labs-collection/ I don't know yet if I'm adding the dispenser tools yet.

    BFAK:Splated,90570372,ff4e1caf1df3f2db74014bc7fdad5b2365d86e09b4a2a218ee8bc959e3ca6aa4

    http://dev.bukkit.org/media/images/46/606/SOLARAPOCALYPSE_copy.png

  • Avatar of CommodoreAlpha CommodoreAlpha Aug 16, 2014 at 04:43 UTC - 0 likes

    Can we make it so that dispensers will only dispense certain blocks as blocks and other blocks as just items?

  • Avatar of Splated Splated Aug 02, 2014 at 02:06 UTC - 0 likes

    @pyropanda01: Go Cool but How do you restock the dispenser with command blocks?

    I have in the past made mob farms and used the drops to make fireworks. :P

  • Avatar of pyropanda01 pyropanda01 Aug 01, 2014 at 04:40 UTC - 0 likes

    With command blocks and a little redstone. I was able to make a unlimited fishing device with a off and on switch.

  • Avatar of Splated Splated Apr 27, 2014 at 01:28 UTC - 1 like

    http://bitbucket.org/splat_ed/smart_items heres the code if you want to take a crack at it.

  • Avatar of Splated Splated Apr 27, 2014 at 00:51 UTC - 0 likes

    @Krenath: Go

    Working with container inventories is a huge headache I originally tried to build a "Dropper" before they existed, by shooting a dispenser into a Container. I had a very hard time with items getting duplicated, and scrapped it. The reason the frame, hopper trick works, is theres a cancelable event triggered when an item enters a hopper from the top.

    It may be possible to have Cauldrons and Craftbenches search nearby containers but they need to be tracked so an update can be run every x ticks, or on redstone power event, but redstone events are very odd.

    Since Items are already cycled through every x ticks so this was easier to do it that way and have them react to the blocks below them.

    Droppers can shoot into containers now making Cauldrons lifts no longer really necessary, but I like them so i left it in.

  • Avatar of Krenath Krenath Apr 26, 2014 at 22:04 UTC - 1 like

    Having played with SmartItems on our server for the better part of a year, I'm enjoying it greatly and can't imagine not having it installed now. It makes a lot of things easier, and many previously impossible things possible.

    But I do have some suggestions that I think would allow people to craft more compact machines with more predictable behavior that doesn't have to depend on timing the flow of items.

    1. Hoppers with an item frame on them should only accept items of the same type, not just from falling into the top of the hopper, but from the inventory of any container (chest, trapped chest, hopper, dispenser, dropper, brewing stand, etcetera) above the hopper or other hopper that feeds into it. I mentioned this in a comment nearly a year ago and you'd replied that it was for mixing items into hoppers, but I do think you can do the mixing in other hoppers downstream, while using filtered hoppers to more precisely control what gets passed along.

    2. Cauldrons should be able to pull items from the inventory of containers they're placed directly above. And should be able to push items into any container they're placed below. This seems to work fine pushing into chests and dispensers and droppers, but doesn't seem to work for pushing items into the inventory of hoppers. It doesn't seem to work at all for pulling from a container except another powered cauldron.

    3. Cauldrons that have item frames on them should only pick up items or pull items from containers that match the item in the frame.

    3. Craftbenches should be able to pull ingredients from containers above them and put the result into containers below them rather than only working with nearby entities.

    With the above modifications to allow precise control of the flow of items in multiple directions and between containers, it would be very easy to create a compact factory to build nearly anything without needing a single water bucket or dropper for flow control.

    Thanks again.

  • Avatar of Splated Splated Mar 09, 2014 at 00:52 UTC - 1 like

    @Arrawn1306: Go The problem is plugins can't easily talk to other plugins.
    Here's how it works

    Smartitems: hey server let me know when a despencer fires.
    Hard mode: hey server let me know when a player breaks a block.
    ...
    Server: a despencer fired.
    Smartitems: ok where, and was it a tool?
    Server: this loc and yes
    Smartitems: ok break a block at loc and don't really fire.
    ...
    Server: player broke a block
    Hard mode: if it was a wood pick axe and stone then cancel it.

    Last edited Mar 09, 2014 by Splated
  • Avatar of Arrawn1306 Arrawn1306 Mar 08, 2014 at 03:54 UTC - 0 likes

    @T3cKno0Kill3R

    The problem doesnt come from smart items, im also using smart items and extrahardmode togheter on my server and there is no problem. the bug youre talking about is actually one of the extrahardmode features that can be disabled in the config file. Extrahardmode mining part make it impossible to mine stone with wood, gold and stone picks unless you disable" Mining: Inhibit Tunneling:" in the config file, or unless you mine any other materials around stone, wich will transform the stone around them into cobble that can be mined.

    Hope i helped you ^^ but i swear that smart items isnt the cause of that in any case.

    Last edited Mar 08, 2014 by Arrawn1306

    [PVP] Humans Vs Vampires Vs Werewolfs Survival Roleplay

    TheLastKingdom.no-ip.biz:25565

Facts

Date created
Sep 28, 2012
Category
Last update
Jan 14, 2014
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
Smart Items
Downloads
6,106
Recent files

Authors