mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Added the ender star which is a new crafting ingredient
This commit is contained in:
parent
a8365724f8
commit
ca91ef4d24
8 changed files with 29 additions and 5 deletions
|
@ -12,6 +12,7 @@ package de.ellpeck.actuallyadditions.mod.booklet;
|
|||
|
||||
import de.ellpeck.actuallyadditions.api.ActuallyAdditionsAPI;
|
||||
import de.ellpeck.actuallyadditions.api.booklet.BookletPage;
|
||||
import de.ellpeck.actuallyadditions.mod.ActuallyAdditions;
|
||||
import de.ellpeck.actuallyadditions.mod.blocks.InitBlocks;
|
||||
import de.ellpeck.actuallyadditions.mod.blocks.metalists.TheColoredLampColors;
|
||||
import de.ellpeck.actuallyadditions.mod.blocks.metalists.TheMiscBlocks;
|
||||
|
@ -77,6 +78,7 @@ public class InitBooklet{
|
|||
lampPages.add(new PageCrafting(lampPages.size()+1, recipe).setNoText());
|
||||
}
|
||||
new BookletChapter("lamps", ActuallyAdditionsAPI.entryMisc, new ItemStack(InitBlocks.blockColoredLampOn, 1, TheColoredLampColors.GREEN.ordinal()), lampPages.toArray(new BookletPage[lampPages.size()]));
|
||||
new BookletChapter("enderStar", ActuallyAdditionsAPI.entryMisc, new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()), new PageCrafting(1, ItemCrafting.recipeEnderStar));
|
||||
|
||||
new BookletChapter("treasureChest", ActuallyAdditionsAPI.entryMisc, new ItemStack(InitBlocks.blockTreasureChest), new PagePicture(1, "pageTreasureChest", 150).setStack(new ItemStack(InitBlocks.blockTreasureChest)), new PageTextOnly(2)).setSpecial();
|
||||
new BookletChapter("hairBalls", ActuallyAdditionsAPI.entryMisc, new ItemStack(InitItems.itemHairyBall), new PagePicture(1, "pageFurBalls", 110).setStack(new ItemStack(InitItems.itemHairyBall)), new PageTextOnly(2)).setSpecial();
|
||||
|
|
|
@ -153,7 +153,8 @@ public enum ConfigCrafting{
|
|||
DRILL_CORE("Drill Core", ConfigCategories.ITEMS_CRAFTING),
|
||||
ATOMIC_RECONSTRUCTOR("Atomic Reconstructor", ConfigCategories.BLOCKS_CRAFTING),
|
||||
MINER("Miner", ConfigCategories.BLOCKS_CRAFTING),
|
||||
FIREWORK_BOX("Firework Box", ConfigCategories.BLOCKS_CRAFTING);
|
||||
FIREWORK_BOX("Firework Box", ConfigCategories.BLOCKS_CRAFTING),
|
||||
ENDER_STAR("Ender Star", ConfigCategories.ITEMS_CRAFTING);
|
||||
|
||||
public final String name;
|
||||
public final String category;
|
||||
|
|
|
@ -80,6 +80,7 @@ public class ItemCrafting{
|
|||
public static IRecipe recipeBlackDye;
|
||||
public static IRecipe recipeLens;
|
||||
public static IRecipe recipeCrateKeeper;
|
||||
public static IRecipe recipeEnderStar;
|
||||
|
||||
public static void init(){
|
||||
|
||||
|
@ -362,7 +363,7 @@ public class ItemCrafting{
|
|||
"WNW", "WDW", "WNW",
|
||||
'W', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.BAT_WING.ordinal()),
|
||||
'N', new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()),
|
||||
'D', new ItemStack(Items.NETHER_STAR)));
|
||||
'D', new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal())));
|
||||
recipeWings = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
|
@ -528,7 +529,7 @@ public class ItemCrafting{
|
|||
public static void addRingRecipeWithStack(ItemStack mainStack, int meta){
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemPotionRing, 1, meta), mainStack, mainStack, mainStack, mainStack, new ItemStack(InitBlocks.blockCrystal, 1, TheCrystals.DIAMOND.ordinal()), new ItemStack(Items.NETHER_WART), new ItemStack(Items.POTIONITEM), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.RING.ordinal()));
|
||||
recipesPotionRings.add(RecipeUtil.lastIRecipe());
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemPotionRingAdvanced, 1, meta), new ItemStack(InitItems.itemPotionRing, 1, meta), new ItemStack(Items.NETHER_STAR), new ItemStack(Items.NETHER_STAR));
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(InitItems.itemPotionRingAdvanced, 1, meta), new ItemStack(InitItems.itemPotionRing, 1, meta), new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()));
|
||||
recipesPotionRings.add(RecipeUtil.lastIRecipe());
|
||||
}
|
||||
|
||||
|
|
|
@ -78,6 +78,15 @@ public class MiscCrafting{
|
|||
'F', new ItemStack(Items.FLINT)));
|
||||
ItemCrafting.recipeKnifeBlade = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
|
||||
//Ender Star
|
||||
if(ConfigCrafting.ENDER_STAR.isEnabled()){
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.ENDER_STAR.ordinal()),
|
||||
new ItemStack(Items.NETHER_STAR),
|
||||
new ItemStack(Items.DRAGON_BREATH),
|
||||
new ItemStack(InitItems.itemMisc, 1, TheMiscItems.QUARTZ.ordinal())));
|
||||
ItemCrafting.recipeEnderStar = RecipeUtil.lastIRecipe();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -32,7 +32,8 @@ public enum TheMiscItems{
|
|||
BAT_WING("BatWing", EnumRarity.RARE),
|
||||
DRILL_CORE("DrillCore", EnumRarity.UNCOMMON),
|
||||
BLACK_DYE("BlackDye", EnumRarity.EPIC),
|
||||
LENS("Lens", EnumRarity.UNCOMMON);
|
||||
LENS("Lens", EnumRarity.UNCOMMON),
|
||||
ENDER_STAR("EnderStar", EnumRarity.EPIC);
|
||||
|
||||
public final String name;
|
||||
public final EnumRarity rarity;
|
||||
|
|
|
@ -407,6 +407,7 @@ item.actuallyadditions.itemPaxelCrystalBlack.name=Void Crystal AIOT
|
|||
item.actuallyadditions.itemPaxelCrystalWhite.name=Enori Crystal AIOT
|
||||
item.actuallyadditions.itemPaxelCrystalGreen.name=Emeradic Crystal AIOT
|
||||
item.actuallyadditions.itemFoodBacon.name=Bacon
|
||||
item.actuallyadditions.itemMiscEnderStar.name=Ender Star
|
||||
|
||||
#Tooltips
|
||||
tooltip.actuallyadditions.onSuffix.desc=On
|
||||
|
@ -768,3 +769,6 @@ booklet.actuallyadditions.chapter.fireworkBox.text.2=When right-clicking it with
|
|||
|
||||
booklet.actuallyadditions.chapter.rf.name=RF (Redstone Flux)
|
||||
booklet.actuallyadditions.chapter.rf.text.1=For anyone who hasn't used much of a mod that uses <imp>RF<r> yet, here's a quick explanation. <n><imp>Redstone Flux<r>, or RF for short, is a power system used by many mods. <n>The basic concept is is that lots of machines generate or use it <imp>every game tick<r>. That's what <imp>RF/t<r> means. <n>To connect a power generating (thus, outputting) machine to one that needs (thus, receives) power, just <imp>place it next to it<r>. <n><n><i>What's a fourth wall?
|
||||
|
||||
booklet.actuallyadditions.chapter.enderStar.name=Ender Star
|
||||
booklet.actuallyadditions.chapter.enderStar.text.1=The <item>Ender Star<r> can be obtained by both killing a wither and going to the end to collect Dragon's Breath. The latter is obtained by using a bottle on the purple particles that the dragon spits out. <n>The <item>Ender Star<r> is used for <imp>multiple crafting recipes<r>.
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "actuallyadditions:item/standardItem",
|
||||
"textures": {
|
||||
"layer0": "actuallyadditions:items/itemMiscEnderStar"
|
||||
}
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 342 B |
Loading…
Reference in a new issue