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

mmb.content.modular.universal.Plug 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<

The newest version!
/**
 * 
 */
package mmb.content.modular.universal;

import mmb.content.electric.Electricity;
import mmb.content.modular.ModularBlock;
import mmb.content.modular.chest.BlockModuleUniversal;
import mmb.content.modular.gui.ModuleConfigHandler;
import mmb.content.modular.part.RotablePart;
import mmb.engine.chance.Chance;
import mmb.engine.inv.Inventory;
import mmb.engine.inv.NoSuchInventory;
import mmb.engine.inv.io.InventoryReader;
import mmb.engine.inv.io.InventoryWriter;
import mmb.engine.item.RotableItem;
import mmb.engine.rotate.Side;

/**
 * @author oskar
 *
 */
public class Plug extends RotablePart implements BlockModuleUniversal {
	@Override
	public Chance dropItems() {
		return Chance.NONE;
	}

	@Override
	public Inventory provideInventory(ModularBlock blk, Side s) {
		return NoSuchInventory.INSTANCE;
	}

	@Override
	public InventoryWriter provideInput(ModularBlock blk, Side s) {
		return InventoryWriter.NONE;
	}

	@Override
	public InventoryReader provideOutput(ModularBlock blk, Side s) {
		return InventoryReader.NONE;
	}

	@Override
	public boolean provideSignal(ModularBlock blk, Side s) {
		return false;
	}

	@Override
	public Electricity provideElectricity(ModularBlock blk, Side s) {
		return null;
	}

	
	@Override
	public ModuleConfigHandler mch() {
		return null;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy