This plugin has a group of different machines that can be used to process different items.
Cobblestone | Dispenser | Cobblestone
Cobblestone | Piston | Cobblestone
Cobblestone | Dispenser | Cobblestone
Iron Block | Dispenser | Iron Block
Iron Block | Piston | Iron Block
Iron Block | Dispenser | Iron Block
Cobblestone | Furnace | Cobblestone
Cobblestone | Piston | Cobblestone
Cobblestone | Furnace | Cobblestone
Iron Block | Furnace | Iron Block
Iron Block | Piston | Iron Block
Iron Block | Furnace | Iron Block
Stone | | Stone
Stone | Iron Block | Stone
Stone | Piston | Stone
###Macerator
Input | Output |
---|---|
Iron ore | 2 Iron dust |
Gold ore | 2 Gold dust |
Emerald ore | 2 Emerald dust |
Diamond ore | 2 Diamond dust |
Lapis ore | 8 Lapis Lazuli |
###Smelter
Input | Output |
---|---|
Iron dust | Iron ingot |
Gold dust | Gold ingot |
Emerald dust | Emerald |
Diamond dust | Diamond |
Plus every vanilla smelting recipe.
###Compressor
Input | Output |
---|---|
4 Clay ball | Clay block |
4 Clay brick | Brick block |
Clay block | Hardened clay |
9 Melon | Melon block |
4 Glowstone dust | Glowstone |
4 Snow balls | Snow block |
4 Netherrack | Nether brick |
Snow block | Ice |
Ice | Packed Ice |
Sand | Sandstone |
9 Coal | Coal block |
9 Iron ingots | Iron block |
9 Diamonds | Diamond block |
9 Redstone | Redstone block |
9 Lapis Lazuli | Lapis lazuli block |
9 Emeralds | Emerald block |
-
Put your fuel in the bottom slot (works with any vanilla fuel, even lava).
-
Progress will show on the top middle bar, if it is not progressing, simply hover over the bar to see why it is not doing so.
-
If there are no issues, you should start recieving output in the top right slot.
####Creating a machine
To create a machine you must implement Machine, or you can just simply extend SimpleMachine for a simple implementation. e.g:
public class CompressorMachine extends SimpleMachine {
public CompressorMachine(Location location) {
super("Compressor", ChatColor.GREEN + "Compressor", 1, location); //Title, formatted name, fuelMultiplier, location
}
}
To add a recipes/processes to your machine you must first create a Process using any of the Process.create
methoods and then in your machine add the recipes with SimpleMachine#addProcesses(Process...).
####Registering a machine
To register a machine simply do MachineFactory.registerMachine(key, machineSupplier)
####Giving machines
A machine can be represented by any item, the only way a machine is indentified is by the NBT String tag with the value of the key of the machine. This can be set with the ItemStackBuilder stringTag(key, value)
method or with the NBTUtils.getTag(nmsItem).setString(key, value)
function.