mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 15:56:14 +00:00
Added the Nightshade.
This commit is contained in:
1 parent
7cfd4011ef
commit
2c25a0af36
5 files changed
+39
-1
No files matched your search
@@ -53,7 +53,8 @@ public class BlockSpecialFlower extends BlockFlower implements ITileEntityProvid
|
||||
LibBlockNames.SUBTILE_PUREDAISY,
|
||||
|
||||
// Generating
|
||||
LibBlockNames.SUBTILE_DAYBLOOM,
|
||||
LibBlockNames.SUBTILE_DAYBLOOM,
|
||||
LibBlockNames.SUBTILE_NIGHTSHADE,
|
||||
LibBlockNames.SUBTILE_ENDOFLAME,
|
||||
LibBlockNames.SUBTILE_HYDROANGEAS,
|
||||
LibBlockNames.SUBTILE_THERMALILY,
|
||||
|
||||
@@ -25,6 +25,7 @@ import vazkii.botania.common.block.subtile.functional.SubtileOrechid;
|
||||
import vazkii.botania.common.block.subtile.generating.SubTileDaybloom;
|
||||
import vazkii.botania.common.block.subtile.generating.SubTileEndoflame;
|
||||
import vazkii.botania.common.block.subtile.generating.SubTileHydroangeas;
|
||||
import vazkii.botania.common.block.subtile.generating.SubTileNightshade;
|
||||
import vazkii.botania.common.block.subtile.generating.SubTileThermalily;
|
||||
import vazkii.botania.common.block.tile.TileAltar;
|
||||
import vazkii.botania.common.block.tile.TileDistributor;
|
||||
@@ -128,6 +129,7 @@ public final class ModBlocks {
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_ENDOFLAME, SubTileEndoflame.class);
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_HYDROANGEAS, SubTileHydroangeas.class);
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_THERMALILY, SubTileThermalily.class);
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_NIGHTSHADE, SubTileNightshade.class);
|
||||
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_BELLETHORN, SubTileBellethorn.class);
|
||||
BotaniaAPI.registerSubTile(LibBlockNames.SUBTILE_HEISEI_DREAM, SubTileHeiseiDream.class);
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* This class was created by <Vazkii>. It's distributed as
|
||||
* part of the Botania Mod. Get the Source Code in github:
|
||||
* https://github.com/Vazkii/Botania
|
||||
*
|
||||
* Botania is Open Source and distributed under a
|
||||
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
|
||||
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
|
||||
*
|
||||
* File Created @ [Mar 16, 2014, 11:15:42 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.common.block.subtile.generating;
|
||||
|
||||
public class SubTileNightshade extends SubTileDaybloom {
|
||||
|
||||
@Override
|
||||
public int getDelayBetweenPassiveGeneration() {
|
||||
return super.getDelayBetweenPassiveGeneration() * 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canGeneratePassively() {
|
||||
System.out.println(!super.canGeneratePassively());
|
||||
return !super.canGeneratePassively();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getColor() {
|
||||
return 0x3D2A90;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -41,6 +41,7 @@ public final class LibBlockNames {
|
||||
public static final String SUBTILE_ENDOFLAME = "endoflame";
|
||||
public static final String SUBTILE_HYDROANGEAS = "hydroangeas";
|
||||
public static final String SUBTILE_THERMALILY = "thermalily";
|
||||
public static final String SUBTILE_NIGHTSHADE = "nightshade";
|
||||
|
||||
public static final String SUBTILE_BELLETHORN = "bellethorn";
|
||||
public static final String SUBTILE_HEISEI_DREAM = "heiseiDream";
|
||||
|
||||
@@ -122,6 +122,8 @@ tile.botania:flower.hydroangeas.name=Hydroangeas
|
||||
tile.botania:flower.hydroangeas.reference=Careful: Wet floor
|
||||
tile.botania:flower.thermalily.name=Thermalily
|
||||
tile.botania:flower.thermalily.reference=A Scarlet Rose indeed
|
||||
tile.botania:flower.nightshade.name=Nightshade
|
||||
tile.botania:flower.nightshade.reference=Ghastly signature
|
||||
|
||||
# - FUNCTIONAL
|
||||
tile.botania:flower.bellethorn.name=Bellethorne
|
||||
|
||||
Reference in new issue
Block a user