Started adding recipes to rv1 items.
This commit is contained in:
+16
-2
@@ -3,6 +3,7 @@ package appeng.core;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Field;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.crafting.CraftingManager;
|
||||
import net.minecraft.util.WeightedRandomChestContent;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
@@ -383,8 +384,21 @@ public class Registration
|
||||
|
||||
items.itemFacade = addFeature( ItemFacade.class );
|
||||
items.itemCrystalSeed = addFeature( ItemCrystalSeed.class );
|
||||
items.itemPaintBall = addFeature( ItemPaintBall.class );
|
||||
|
||||
|
||||
ColoredItemDefinition pbreg,pbregl;
|
||||
items.itemPaintBall = pbreg= new ColoredItemDefinition();
|
||||
items.itemLumenPaintBall = pbregl= new ColoredItemDefinition();
|
||||
AEItemDefinition pb= addFeature( ItemPaintBall.class );
|
||||
|
||||
for (AEColor c: AEColor.values() )
|
||||
{
|
||||
if ( c != AEColor.Transparent )
|
||||
{
|
||||
pbreg.add( c, new ItemStackSrc( pb.item(), c.ordinal() ) );
|
||||
pbregl.add( c, new ItemStackSrc( pb.item(), 20 + c.ordinal() ) );
|
||||
}
|
||||
}
|
||||
|
||||
addFeature( ToolEraser.class );
|
||||
addFeature( ToolMeteoritePlacer.class );
|
||||
addFeature( ToolDebugCard.class );
|
||||
|
||||
Reference in New Issue
Block a user