Smart Items
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
- Download the plugin
- Place .jar file in your plugins directory.
- edit/create Config File
- 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.
Hi, There must something Im doing wrong, it doesnt work. Allthough it says it is enabled in the loading of the server, I only have a blank config-file also. Strange?
@Krenath
1. thats intended so you can mix items into hoppers.
2. I think thats a bug with the milk, I'll add it to a bug list.
I put this mod on out 1.6.2 server last night and tinkered with it quite a bit. Loved it! I only noticed two things which seem like possible glitches, although it *could* be our server's setup. Since I only have our server to test on, I though I'd post up just in case.
1. Item frames on hoppers only seemed to filter items being dropped into the top of the hopper, but did not affect what items were put into the hopper from other containers, such as chests or other hoppers. This necessitated using pulsed droppers spew items into a water stream and back into a row of filtered hoppers. It would be a lot more streamlined if item frames would prevent hoppers from accepting items from *all* sources.
2. Dispensers placing water with a water bucket seems to be broken. The dispenser can place the water but cannot collect it again. The placed water block seemed to be shorter than a normal source block and appeared to flow uphill about 1/8 block, then flow downhill normally after that.
Thanks for a great mod!
@ArthurMaker
whats not working?
Update to 1.6.2, please!
@Splated
What could be done, is hooking into as many protecion plugins as possible (the better ones are having APIs for this reason), and then making the application of the API configurable, or automatically loaded when said plugin(s) are detected. This is a really plain idea, but it might would work. I recommend starting with GriefPrevention and WorldGuard if you decide to give it a try.
I can't seem to get the auto milking to work, it doesn't even let the dispenser shoot buckets.... Droppers don't work either :(
@ArthurMaker
Depends on the mod and item, most of my tests work.
items with custom name (lore) have support?
@nullschritt
But as I said the blocks are placed by no one.
So say you wanted to prevent players from planing trees in land they don't own?
if i tagged every item dropped by a player with the players name, I could prevent dropped items but not natural tree drops, items shot from dispensers.
if I made natural drops and dispensers not work on owned land then it wont work for the person who owns the land.
So you may as well just disable tree planting if you want to protect land.
Best I can come up with is just flag chunks as "NoGrow"
No support for: Worldguard, towny, factions, or any other Owned land plugins. The blocks are placed by the server, not a player so theres no way to check ownership, I'm looking into a simple way to protect areas.
The Prism plugin can track actions done by a player, for example you can restore all blocks broken or changed by player x within a specific region, or across the whole map. Perhaps you could look for some form of integration there? The plugin stores the data in a mysql database.
I think smart items is now at the Release stage, Please use the ticket system for all add-on ideas and bugs. I will make some tutorial videos soon.
@jeannen I think I can add a few blocks to the range for tools that affect blocks, but tools that affect living things are stuck where they are.
Can you add a way to expand the range of dispensers ? :)
@knatteanka
I'll see what I can do..
@Splated
The drawback with that is that if i want to filter content from a chest/minecart with chest to our chest system (160 chests). Is that i have to drop all items in water to be able to filer it and it can be many items i the loop at the same time that is moving :( but i can under stand you view and respect it.
Have a nice day :D
@KnatteAnka22
I like it this way then you can pipe items into filtered hoppers.
I have thought about the hopper and filters from other inventory. Maybe it can be done by emulating under the time it request from above that it contains the filtering item/items in all slots, that way it only accept the filtered item, then received or declined remove the emulated items.
At last I found a way to automate breeding and killing of cows. The key is swords in dispensers and the hight of adult cows vs baby cows. when they grow up there taller and the sword can chop them hehe.
@Davdinges um you can shear sheers and milk cows with dispensers.