All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.content.electric.machines.ProcessorSimpleBlock Maven / Gradle / Ivy

Go to download

Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world. THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<

There is a newer version: 0.6
Show newest version
/**
 * 
 */
package mmb.content.electric.machines;

import mmb.NN;
import mmb.content.electric.ElectricMachineGroup.ElectroMachineType;
import mmb.content.electric.helper.SimpleProcessHelper;
import mmb.engine.craft.singles.SimpleRecipeGroup;

/**
 * @author oskar
 * A machine capable of obtaining resources out of nothing
 */
public class ProcessorSimpleBlock extends ProcessorAbstractBlock{
	//Constructor
	public ProcessorSimpleBlock(ElectroMachineType type, SimpleRecipeGroup group) {
		super(type);
		this.recipes = group;
		helper = new SimpleProcessHelper(group, in, out0, 1000, elec, type.volt, null);
	}
	
	//Contents
	@NN private final SimpleProcessHelper helper;
	@Override
	public SimpleProcessHelper helper() {
		return helper;
	}
	
	/** The recipe group used for this machine */
	public final SimpleRecipeGroup recipes;
	@Override
	public SimpleRecipeGroup recipes() {
		return recipes;
	}
	
	//Block methods
	@Override
	protected ProcessorAbstractBlock copy0() {
		return new ProcessorSimpleBlock(type, recipes);
	}

	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy