8000 GitHub - hfreeb/Desetude-2016: This is the repository for your Devathon Project.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hfreeb/Desetude-2016

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machines

This plugin has a group of different machines that can be used to process different items.


Machine recipes

Basic Macerator

Recipe

Cobblestone | Dispenser | Cobblestone
Cobblestone |    Piston    | Cobblestone
Cobblestone | Dispenser | Cobblestone

Advanced Macerator

Recipe

Iron Block | Dispenser | Iron Block
Iron Block |    Piston    | Iron Block
Iron Block | Dispenser | Iron Block

Basic Smelter

Recipe

Cobblestone | Furnace | Cobblestone
Cobblestone |   Piston   | Cobblestone
Cobblestone | Furnace | Cobblestone

Advanced Smelter

Recipe

Iron Block | Furnace | Iron Block
Iron Block |   Piston   | Iron Block
Iron Block | Furnace | Iron Block

Compressor

Recipe

Stone |                  | Stone
Stone | Iron Block | Stone
Stone |    Piston    | Stone


Processes

###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

How to use

  1. Craft the machine. Crafting

  2. Place the machine. Placing

  3. Right click the machine. Opening

  4. Put your input into the top left slot. Input

  5. Put your fuel in the bottom slot (works with any vanilla fuel, even lava). Fuel

  6. 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. Progress

  7. If there are no issues, you should start recieving output in the top right slot. Output

API

####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.

About

This is the repository for your Devathon Project.

Resources

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.2%
  • Shell 5.8%
0