mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Black Lotus
This commit is contained in:
parent
be1983a0cf
commit
9456d40197
8 changed files with 73 additions and 2 deletions
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* This file ("BlockFlower.java") is part of the Actually Additions Mod for Minecraft.
|
||||
* It is created and owned by Ellpeck and distributed
|
||||
* under the Actually Additions License to be found at
|
||||
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
||||
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
||||
*
|
||||
* © 2015 Ellpeck
|
||||
*/
|
||||
|
||||
package ellpeck.actuallyadditions.blocks;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import ellpeck.actuallyadditions.util.IActAddItemOrBlock;
|
||||
import ellpeck.actuallyadditions.util.ModUtil;
|
||||
import net.minecraft.block.BlockBush;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.item.EnumRarity;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.IIcon;
|
||||
|
||||
public class BlockBlackLotus extends BlockBush implements IActAddItemOrBlock{
|
||||
|
||||
public BlockBlackLotus(){
|
||||
this.setStepSound(soundTypeGrass);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName(){
|
||||
return "blockBlackLotus";
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumRarity getRarity(ItemStack stack){
|
||||
return EnumRarity.epic;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIcon(int side, int meta){
|
||||
return this.blockIcon;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void registerBlockIcons(IIconRegister iconReg){
|
||||
this.blockIcon = iconReg.registerIcon(ModUtil.MOD_ID_LOWER+":"+this.getName());
|
||||
}
|
||||
}
|
|
@ -98,9 +98,14 @@ public class InitBlocks{
|
|||
|
||||
public static Block blockLaserRelay;
|
||||
|
||||
public static Block blockBlackLotus;
|
||||
|
||||
public static void init(){
|
||||
ModUtil.LOGGER.info("Initializing Blocks...");
|
||||
|
||||
blockBlackLotus = new BlockBlackLotus();
|
||||
BlockUtil.register(blockBlackLotus);
|
||||
|
||||
blockLaserRelay = new BlockLaserRelay();
|
||||
BlockUtil.register(blockLaserRelay);
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@ public class InitBooklet{
|
|||
|
||||
new BookletChapter("treasureChest", entryMisc, new ItemStack(InitBlocks.blockTreasureChest), new PagePicture(1, "pageTreasureChest", 150).setStack(new ItemStack(InitBlocks.blockTreasureChest)), new PageTextOnly(2)).setSpecial();
|
||||
new BookletChapter("hairBalls", entryMisc, new ItemStack(InitItems.itemHairyBall), new PagePicture(1, "pageFurBalls", 110).setStack(new ItemStack(InitItems.itemHairyBall)), new PageTextOnly(2)).setSpecial();
|
||||
new BookletChapter("blackLotus", entryMisc, new ItemStack(InitBlocks.blockBlackLotus), new PageTextOnly(1).setStack(new ItemStack(InitBlocks.blockBlackLotus)), new PageCrafting(2, ItemCrafting.recipeBlackDye));
|
||||
|
||||
//No RF Using Blocks
|
||||
new BookletChapter("breaker", entryFunctionalNonRF, new ItemStack(InitBlocks.blockBreaker), new PageCrafting(1, BlockCrafting.recipeBreaker), new PageCrafting(2, BlockCrafting.recipePlacer), new PageCrafting(3, BlockCrafting.recipeLiquidPlacer), new PageCrafting(4, BlockCrafting.recipeLiquidCollector));
|
||||
|
|
|
@ -74,9 +74,14 @@ public class ItemCrafting{
|
|||
public static IRecipe recipeChestToCrateUpgrade;
|
||||
public static IRecipe recipeLaserWrench;
|
||||
public static IRecipe recipeDrillCore;
|
||||
public static IRecipe recipeBlackDye;
|
||||
|
||||
public static void init(){
|
||||
|
||||
//Black Dye
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemMisc, 1, TheMiscItems.BLACK_DYE.ordinal()), new ItemStack(InitBlocks.blockBlackLotus)));
|
||||
recipeBlackDye = Util.GetRecipes.lastIRecipe();
|
||||
|
||||
//Booklet
|
||||
GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(InitItems.itemLexicon), new ItemStack(InitItems.itemCanolaSeed), new ItemStack(Items.paper)));
|
||||
recipeBook = Util.GetRecipes.lastIRecipe();
|
||||
|
|
|
@ -30,7 +30,8 @@ public enum TheMiscItems{
|
|||
CANOLA("Canola", EnumRarity.uncommon),
|
||||
CUP("Cup", EnumRarity.uncommon),
|
||||
BAT_WING("BatWing", EnumRarity.rare),
|
||||
DRILL_CORE("DrillCore", EnumRarity.uncommon);
|
||||
DRILL_CORE("DrillCore", EnumRarity.uncommon),
|
||||
BLACK_DYE("BlackDye", EnumRarity.epic);
|
||||
|
||||
public final String name;
|
||||
public final EnumRarity rarity;
|
||||
|
|
|
@ -71,6 +71,8 @@ public class InitOreDict{
|
|||
addOre(InitItems.itemSpecialDrop, TheSpecialDrops.PEARL_SHARD.ordinal(), "nuggetEnderpearl");
|
||||
|
||||
addOre(InitItems.itemMisc, TheMiscItems.QUARTZ.ordinal(), "gemQuartzBlack");
|
||||
|
||||
addOre(InitItems.itemMisc, TheMiscItems.BLACK_DYE.ordinal(), "dyeBlack");
|
||||
}
|
||||
|
||||
private static void addOre(ItemStack stack, String name){
|
||||
|
|
|
@ -106,6 +106,7 @@ tile.actuallyadditions.blockDirectionalBreaker.name=Long-Range Breaker
|
|||
tile.actuallyadditions.blockRangedCollector.name=Ranged Collector
|
||||
tile.actuallyadditions.blockLaserRelay.name=Laser Relay
|
||||
tile.actuallyadditions.blockMiscIronCasing.name=Iron Casing
|
||||
tile.actuallyadditions.blockBlackLotus.name=Black Lotus
|
||||
|
||||
#ESD
|
||||
tile.actuallyadditions.blockInputter.name=ESD
|
||||
|
@ -280,6 +281,7 @@ item.actuallyadditions.itemBooklet.name=Actually Additions Manual
|
|||
item.actuallyadditions.itemLaserWrench.name=Laser Wrench
|
||||
item.actuallyadditions.itemChestToCrateUpgrade.name=Chest To Storage Crate Upgrade
|
||||
item.actuallyadditions.itemMiscDrillCore.name=Drill Core
|
||||
item.actuallyadditions.itemMiscBlackDye.name=Black Dye
|
||||
|
||||
#Tooltips
|
||||
tooltip.actuallyadditions.onSuffix.desc=On
|
||||
|
@ -307,6 +309,7 @@ tooltip.actuallyadditions.blockPhantomRange.desc=Range
|
|||
tooltip.actuallyadditions.laser.stored.desc=<Laser stored!>
|
||||
tooltip.actuallyadditions.laser.connected.desc=<Laser connected!>
|
||||
tooltip.actuallyadditions.laser.cantConnect.desc=Can't connect: The relays are either part of the same network, the stored relay doesn't exist anymore or it is too far away!
|
||||
tooltip.actuallyadditions.blockBlackLotus.desc=No, not that one, Vaz!
|
||||
|
||||
#Gui Information
|
||||
info.actuallyadditions.gui.animals=Animals
|
||||
|
@ -577,4 +580,8 @@ booklet.actuallyadditions.chapter.hairBalls.text.1=<item>Balls of Fur<r> dropped
|
|||
booklet.actuallyadditions.chapter.hairBalls.text.2=<item>Balls of Fur<r> are an item rarely dropped by <imp>cats<r> which have been <imp>tamed<r> by the player. <n>Cats are very mysterious creatures as they <imp>appear to get everything stuck in their fur<r>. <item>Balls of Fur<r> may seem disgusting at first, but when removing all of the hair by <imp>right-clicking<r>, they will reveal some <imp>valuable items<r>. <n>Or just some String. <n><n><n><i>FUURRRRRR!!
|
||||
|
||||
booklet.actuallyadditions.chapter.laserRelays.name=Laser Relays
|
||||
booklet.actuallyadditions.chapter.laserRelays.text.1=The <item>Laser Relay<r> is a block that can <imp>wirelessly transfer RF<r> just by being connected with a <item>Laser Wrench<r>, generating a network. <n>When placing a Power Generator or Receiver next to the relay, it can receive Power <imp>from any other relay<r> in the network. <n>Two relays can be at most <range> blocks apart. <n>During an energy transfer, they have an <imp>Energy Loss<r> of <loss>%.
|
||||
booklet.actuallyadditions.chapter.laserRelays.text.1=The <item>Laser Relay<r> is a block that can <imp>wirelessly transfer RF<r> just by being connected with a <item>Laser Wrench<r>, generating a network. <n>When placing a Power Generator or Receiver next to the relay, it can receive Power <imp>from any other relay<r> in the network. <n>Two relays can be at most <range> blocks apart. <n>During an energy transfer, they have an <imp>Energy Loss<r> of <loss>%.
|
||||
|
||||
booklet.actuallyadditions.chapter.blackLotus.name=Black Lotus
|
||||
booklet.actuallyadditions.chapter.blackLotus.text.1=Think of this: <n>You need to craft <imp>black wool<r>, <imp>black clay<r> or anything else that <imp>needs black dye<r> but you are just guilty about killing so many <imp>innocent squids<r>? <n>Well, the <item>Black Lotus<r> is exactly the thing you need! <n>Just look around <imp>in the wild<r> a bit, and you will find one, then being able to craft some <item>Black Dye<r> that can be used <imp>instead of Ink Sacs<r> so that you don't need to kill poor squids and L any longer.
|
||||
booklet.actuallyadditions.chapter.blackLotus.text.2=<i>No, not that one, Vaz
|
Binary file not shown.
After Width: | Height: | Size: 256 B |
Loading…
Reference in a new issue