mirror of
https://github.com/GTNewHorizons/NotEnoughEnergistics.git
synced 2026-11-24 22:04:31 +00:00
updateBuildScript & spotlessApply
This commit is contained in:
1 parent
d066fa13ba
commit
34a31ddfe9
66 files changed
+1217
-788
No files matched your search
@@ -1,5 +1,7 @@
|
||||
package com.github.vfyjxf.nee.proxy;
|
||||
|
||||
import static com.github.vfyjxf.nee.block.BlockPatternInterface.BLOCK_INSTANCE;
|
||||
|
||||
import appeng.api.AEApi;
|
||||
import appeng.api.definitions.IBlocks;
|
||||
import appeng.api.definitions.IDefinitions;
|
||||
@@ -18,13 +20,11 @@ import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.ShapedOreRecipe;
|
||||
|
||||
import static com.github.vfyjxf.nee.block.BlockPatternInterface.BLOCK_INSTANCE;
|
||||
|
||||
public class CommonProxy {
|
||||
|
||||
public void init(FMLInitializationEvent event) {
|
||||
AEBaseTile.registerTileItem(TilePatternInterface.class,
|
||||
new BlockStackSrc(BLOCK_INSTANCE, 0, ActivityState.Enabled));
|
||||
AEBaseTile.registerTileItem(
|
||||
TilePatternInterface.class, new BlockStackSrc(BLOCK_INSTANCE, 0, ActivityState.Enabled));
|
||||
registerRecipe();
|
||||
}
|
||||
|
||||
@@ -43,7 +43,8 @@ public class CommonProxy {
|
||||
}
|
||||
|
||||
public void registerTileEntities() {
|
||||
GameRegistry.registerTileEntity(TilePatternInterface.class, NotEnoughEnergistics.MODID + "." + "tile.pattern_interface");
|
||||
GameRegistry.registerTileEntity(
|
||||
TilePatternInterface.class, NotEnoughEnergistics.MODID + "." + "tile.pattern_interface");
|
||||
}
|
||||
|
||||
public void registerRecipe() {
|
||||
@@ -70,15 +71,20 @@ public class CommonProxy {
|
||||
monitor = blocks.craftingMonitor().maybeStack(1).get();
|
||||
}
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(BLOCK_INSTANCE,
|
||||
"aba", "cdc", "eee",
|
||||
'a', blankPattern,
|
||||
'b', patternTerm,
|
||||
'c', meInterface,
|
||||
'd', monitor,
|
||||
'e', cableSmart
|
||||
));
|
||||
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(
|
||||
BLOCK_INSTANCE,
|
||||
"aba",
|
||||
"cdc",
|
||||
"eee",
|
||||
'a',
|
||||
blankPattern,
|
||||
'b',
|
||||
patternTerm,
|
||||
'c',
|
||||
meInterface,
|
||||
'd',
|
||||
monitor,
|
||||
'e',
|
||||
cableSmart));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user