Crafting Begin.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package appeng.block.crafting;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.core.features.AEFeature;
|
||||
|
||||
public class BlockCraftingUnit extends AEBaseBlock
|
||||
{
|
||||
|
||||
public BlockCraftingUnit() {
|
||||
super( BlockCraftingUnit.class, Material.iron );
|
||||
setfeature( EnumSet.of( AEFeature.Crafting ) );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package appeng.block.crafting;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.core.features.AEFeature;
|
||||
|
||||
public class BlockMolecularAssembler extends AEBaseBlock
|
||||
{
|
||||
|
||||
public BlockMolecularAssembler() {
|
||||
super( BlockMolecularAssembler.class, Material.iron );
|
||||
setfeature( EnumSet.of( AEFeature.Crafting ) );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -30,6 +30,8 @@ import appeng.api.networking.ticking.ITickManager;
|
||||
import appeng.api.parts.IPartHelper;
|
||||
import appeng.api.util.AEColor;
|
||||
import appeng.api.util.AEItemDefinition;
|
||||
import appeng.block.crafting.BlockCraftingUnit;
|
||||
import appeng.block.crafting.BlockMolecularAssembler;
|
||||
import appeng.block.grindstone.BlockCrank;
|
||||
import appeng.block.grindstone.BlockGrinder;
|
||||
import appeng.block.misc.BlockCellWorkbench;
|
||||
@@ -98,6 +100,7 @@ import appeng.items.parts.ItemPart;
|
||||
import appeng.items.parts.PartType;
|
||||
import appeng.items.storage.ItemBasicStorageCell;
|
||||
import appeng.items.storage.ItemCreativeStorageCell;
|
||||
import appeng.items.storage.ItemEncodedPattern;
|
||||
import appeng.items.storage.ItemSpatialStorageCell;
|
||||
import appeng.items.storage.ItemViewCell;
|
||||
import appeng.items.tools.ToolBiometricCard;
|
||||
@@ -269,6 +272,8 @@ public class Registration
|
||||
blocks.blockQuartzOreCharged = addFeature( OreQuartzCharged.class );
|
||||
blocks.blockMatrixFrame = addFeature( BlockMatrixFrame.class );
|
||||
blocks.blockQuartz = addFeature( BlockQuartz.class );
|
||||
blocks.blockCraftingUnit = addFeature( BlockCraftingUnit.class );
|
||||
blocks.blockMolecularAssembler = addFeature( BlockMolecularAssembler.class );
|
||||
blocks.blockFluix = addFeature( BlockFluix.class );
|
||||
blocks.blockSkyStone = addFeature( BlockSkyStone.class );
|
||||
blocks.blockSkyChest = addFeature( BlockSkyChest.class );
|
||||
@@ -312,6 +317,7 @@ public class Registration
|
||||
|
||||
items.itemCellCreative = addFeature( ItemCreativeStorageCell.class );
|
||||
items.itemViewCell = addFeature( ItemViewCell.class );
|
||||
items.itemEncodedPattern = addFeature( ItemEncodedPattern.class );
|
||||
|
||||
items.itemCell1k = addFeature( ItemBasicStorageCell.class, MaterialType.Cell1kPart, 1 );
|
||||
items.itemCell4k = addFeature( ItemBasicStorageCell.class, MaterialType.Cell4kPart, 4 );
|
||||
|
||||
@@ -26,7 +26,7 @@ public enum AEFeature
|
||||
|
||||
ChargedStaff("Tools"), EntropyManipulator("Tools"), MatterCannon("Tools"), WirelessAccessTerminal("Tools"),
|
||||
|
||||
PowerGen("NetworkFeatures"), Security("NetworkFeatures"),
|
||||
Crafting("NetworkFeatures"), PowerGen("NetworkFeatures"), Security("NetworkFeatures"),
|
||||
|
||||
// Crafting("NetworkFeatures"), MolecularAssembler("NetworkFeatures"),
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@ public enum MaterialType
|
||||
|
||||
WoodenGear(AEFeature.GrindStone, "gearWood"),
|
||||
|
||||
BlankPattern,
|
||||
|
||||
Wireless(AEFeature.WirelessAccessTerminal), WirelessBooster(AEFeature.WirelessAccessTerminal),
|
||||
|
||||
FormationCore, AnnihilationCore,
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package appeng.items.storage;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import appeng.core.features.AEFeature;
|
||||
import appeng.items.AEBaseItem;
|
||||
|
||||
public class ItemEncodedPattern extends AEBaseItem
|
||||
{
|
||||
|
||||
public ItemEncodedPattern() {
|
||||
super( ItemEncodedPattern.class );
|
||||
setfeature( EnumSet.of( AEFeature.Crafting ) );
|
||||
setMaxStackSize( 1 );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user