mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 06:24:27 +00:00
Recipe/docs for the Abtruse Platform.
This commit is contained in:
1 parent
e2f981ef05
commit
b58947fe75
5 files changed
+29
-1
No files matched your search
@@ -17,14 +17,18 @@ import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.common.block.tile.TileCamo;
|
||||
import vazkii.botania.common.block.tile.TilePlatform;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockPlatform extends BlockCamo {
|
||||
public class BlockPlatform extends BlockCamo implements ILexiconable {
|
||||
|
||||
public BlockPlatform() {
|
||||
super(Material.wood);
|
||||
@@ -45,4 +49,9 @@ public class BlockPlatform extends BlockCamo {
|
||||
return new TilePlatform();
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
|
||||
return LexiconData.platform;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -122,6 +122,7 @@ public final class ModCrafingRecipes {
|
||||
public static IRecipe recipeDivaCharm;
|
||||
public static IRecipe recipeFlightTiara;
|
||||
public static List<IRecipe> recipesShinyFlowers;
|
||||
public static IRecipe recipePlatform;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
@@ -663,6 +664,14 @@ public final class ModCrafingRecipes {
|
||||
addShapelessOreDictRecipe(new ItemStack(ModBlocks.shinyFlower, 1, i), new ItemStack(Items.glowstone_dust), new ItemStack(Items.glowstone_dust), LibOreDict.FLOWER[i]);
|
||||
recipesShinyFlowers = BotaniaAPI.getLatestAddedRecipes(16);
|
||||
|
||||
// Abtruse Platform Recipe
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.platform),
|
||||
"343", "0 0",
|
||||
'0', new ItemStack(ModBlocks.livingwood, 0, 0),
|
||||
'3', new ItemStack(ModBlocks.livingwood, 0, 3),
|
||||
'4', new ItemStack(ModBlocks.livingwood, 0, 4));
|
||||
recipePlatform = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Mana and Terrasteel Block Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
@@ -109,6 +109,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry openCrate;
|
||||
public static LexiconEntry forestEye;
|
||||
public static LexiconEntry forestDrum;
|
||||
public static LexiconEntry platform;
|
||||
|
||||
public static LexiconEntry manaBlaster;
|
||||
public static LexiconEntry grassSeeds;
|
||||
@@ -354,6 +355,9 @@ public final class LexiconData {
|
||||
forestDrum = new BLexiconEntry(LibLexicon.DEVICE_FOREST_DRUM, categoryDevices);
|
||||
forestDrum.setLexiconPages(new PageText("0"), new PageText("1"), new PageCraftingRecipe("2", ModCrafingRecipes.recipeForestDrum));
|
||||
|
||||
platform = new BLexiconEntry(LibLexicon.DEVICE_PLATFORM, categoryDevices);
|
||||
platform.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCrafingRecipes.recipePlatform));
|
||||
|
||||
// TOOLS ENTRIES
|
||||
manaBlaster = new BLexiconEntry(LibLexicon.TOOL_MANA_BLASTER, categoryTools);
|
||||
manaBlaster.setLexiconPages(new PageText("0"), new PageText("1"), new PageText("2"), new PageCraftingRecipe("3", ModCrafingRecipes.recipeManaBlaster));
|
||||
|
||||
@@ -90,6 +90,7 @@ public final class LibLexicon {
|
||||
public static final String DEVICE_OPEN_CRATE = "openCrate";
|
||||
public static final String DEVICE_FOREST_EYE = "forestEye";
|
||||
public static final String DEVICE_FOREST_DRUM = "forestDrum";
|
||||
public static final String DEVICE_PLATFORM = "platform";
|
||||
|
||||
public static final String TOOL_MANA_BLASTER = "manaBlaster";
|
||||
public static final String TOOL_GRASS_SEEDS = "grassSeeds";
|
||||
|
||||
@@ -804,6 +804,11 @@ botania.page.forestDrum0=The &1Drum of the Wild&0 is, in layman's terms, the per
|
||||
botania.page.forestDrum1=It's to note that the drum does not store mana, hence, in order to trigger it, a &1Redstone Mana Spreader&0 or a &1Mana Blaster&0 is required.
|
||||
botania.page.forestDrum2=But if you close your eyes...
|
||||
|
||||
# -- ABTRUSE PLATFORM
|
||||
botania.entry.platform=Abtruse Platform
|
||||
botania.page.platform0=By laying &1Livingwood&0 on a very specific format it's possible to create a platform of sorts, that only has a physical body for whoever is on top of it and isn't sneaking. For anyone else, it's like it's not there. &4Mana Bursts&0 will always travel through it without any trouble.<br>It's also possible to camouflage this block as any other simple block by simply right clicking it.
|
||||
botania.page.platform1=It would be Etheral but the name was taken
|
||||
|
||||
# - MYSTICAL INSTRUMENTS
|
||||
# -- MANA BLASTER
|
||||
botania.entry.manaBlaster=Mana Blaster
|
||||
|
||||
Reference in new issue
Block a user