New luminizer docs

This commit is contained in:
Vasco Lavos committed 2016-10-01 20:20:58 +01:00
1 parent a26436e295
commit 6c3ff3487e
4 files changed
+23 -6

No files matched your search

@@ -130,7 +130,7 @@ public class BlockLightRelay extends BlockMod implements IWandable, ILexiconable
@Override
public void neighborChanged(IBlockState state, World worldIn, BlockPos pos, Block blockIn) {
if(!worldIn.isRemote) {
if(!worldIn.isRemote && state.getValue(BotaniaStateProps.LUMINIZER_VARIANT) == LuminizerVariant.TOGGLE) {
if(state.getValue(BotaniaStateProps.POWERED) && !worldIn.isBlockPowered(pos))
worldIn.setBlockState(pos, state.withProperty(BotaniaStateProps.POWERED, false));
else if(!state.getValue(BotaniaStateProps.POWERED) && worldIn.isBlockPowered(pos))
@@ -295,7 +295,9 @@ public final class ModCraftingRecipes {
public static IRecipe recipeBaubleCase;
public static IRecipe recipeDodgeRing;
public static IRecipe recipeAnimatedTorch;
public static IRecipe recipeForkLuminizer;
public static IRecipe recipeToggleLuminizer;
// Garden of Glass
public static IRecipe recipeRootToSapling;
public static IRecipe recipeRootToFertilizer;
@@ -1998,6 +2000,14 @@ public final class ModCraftingRecipes {
'T', new ItemStack(Blocks.REDSTONE_TORCH));
recipeAnimatedTorch = BotaniaAPI.getLatestAddedRecipe();
// Fork Luminizer Recipe
addShapelessOreDictRecipe(new ItemStack(ModBlocks.lightRelay, 1, 2), new ItemStack(ModBlocks.lightRelay), new ItemStack(Blocks.REDSTONE_TORCH));
recipeForkLuminizer = BotaniaAPI.getLatestAddedRecipe();
// TOGGLE Luminizer Recipe
addShapelessOreDictRecipe(new ItemStack(ModBlocks.lightRelay, 1, 3), new ItemStack(ModBlocks.lightRelay), new ItemStack(Blocks.LEVER));
recipeToggleLuminizer = BotaniaAPI.getLatestAddedRecipe();
///////////////////////////////////////////////////////////////////////////////////////////////////////////
// Storage Block/Nugget Recipes
@@ -1107,7 +1107,9 @@ public final class LexiconData {
luminizerTransport = new AlfheimLexiconEntry(LibLexicon.ENDER_LUMINIZER_TRANSPORT, categoryEnder);
luminizerTransport.setLexiconPages(new PageText("0"), new PageText("1"),
new PageCraftingRecipe("2", ModCraftingRecipes.recipeLuminizer), new PageText("3"),
new PageCraftingRecipe("4", ModCraftingRecipes.recipeDetectorLuminizer), new PageText("5"),
new PageCraftingRecipe("4", ModCraftingRecipes.recipeDetectorLuminizer), new PageText("7"),
new PageCraftingRecipe("8", ModCraftingRecipes.recipeToggleLuminizer), new PageText("9"), new PageText("10"),
new PageCraftingRecipe("11", ModCraftingRecipes.recipeForkLuminizer), new PageText("5"),
new PageCraftingRecipe("6", ModCraftingRecipes.recipeLuminizerLauncher));
starSword = new AlfheimLexiconEntry(LibLexicon.ENDER_STAR_SWORD, categoryEnder);