mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Recipe/docs for Trodden Dirt.
This commit is contained in:
1 parent
4c03e1202c
commit
88f2afb453
5 files changed
+27
-2
No files matched your search
@@ -13,16 +13,21 @@ package vazkii.botania.common.block.decor;
|
||||
|
||||
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 net.minecraftforge.common.EnumPlantType;
|
||||
import net.minecraftforge.common.IPlantable;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import vazkii.botania.api.lexicon.ILexiconable;
|
||||
import vazkii.botania.api.lexicon.LexiconEntry;
|
||||
import vazkii.botania.common.block.BlockMod;
|
||||
import vazkii.botania.common.lexicon.LexiconData;
|
||||
import vazkii.botania.common.lib.LibBlockNames;
|
||||
|
||||
public class BlockDirtPath extends BlockMod {
|
||||
public class BlockDirtPath extends BlockMod implements ILexiconable {
|
||||
|
||||
public BlockDirtPath() {
|
||||
super(Material.ground);
|
||||
@@ -66,5 +71,10 @@ public class BlockDirtPath extends BlockMod {
|
||||
public boolean canSustainPlant(IBlockAccess world, int x, int y, int z, ForgeDirection direction, IPlantable plantable) {
|
||||
return plantable.getPlantType(world, x, y - 1, z) == EnumPlantType.Plains;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LexiconEntry getEntry(World world, int x, int y, int z, EntityPlayer player, ItemStack lexicon) {
|
||||
return LexiconData.dirtPath;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -215,7 +215,8 @@ public final class ModCraftingRecipes {
|
||||
public static IRecipe recipeCraftingHalo;
|
||||
public static List<IRecipe> recipesLensFlash;
|
||||
public static IRecipe recipePrism;
|
||||
|
||||
public static IRecipe recipeDirtPath;
|
||||
|
||||
public static void init() {
|
||||
// Lexicon Recipe
|
||||
addShapelessOreDictRecipe(new ItemStack(ModItems.lexicon), "treeSapling", Items.book);
|
||||
@@ -1399,6 +1400,10 @@ public final class ModCraftingRecipes {
|
||||
'S', new ItemStack(ModBlocks.platform, 1, 1));
|
||||
recipePrism = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Trodden Dirt Recipe
|
||||
GameRegistry.addShapelessRecipe(new ItemStack(ModBlocks.dirtPath, 4), new ItemStack(Blocks.dirt, 1, 1), new ItemStack(Blocks.dirt, 1, 1), new ItemStack(Blocks.dirt, 1, 1), new ItemStack(Blocks.gravel));
|
||||
recipeDirtPath = BotaniaAPI.getLatestAddedRecipe();
|
||||
|
||||
// Mana and Terrasteel Block Recipes
|
||||
addOreDictRecipe(new ItemStack(ModBlocks.storage, 1, 0),
|
||||
"III", "III", "III",
|
||||
|
||||
@@ -193,6 +193,7 @@ public final class LexiconData {
|
||||
public static LexiconEntry headCreating;
|
||||
public static LexiconEntry azulejo;
|
||||
public static LexiconEntry starfield;
|
||||
public static LexiconEntry dirtPath;
|
||||
public static LexiconEntry tcIntegration;
|
||||
public static LexiconEntry bcIntegration;
|
||||
|
||||
@@ -701,6 +702,9 @@ public final class LexiconData {
|
||||
|
||||
starfield = new ALexiconEntry(LibLexicon.MISC_STARFIELD, categoryMisc);
|
||||
starfield.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeStarfield));
|
||||
|
||||
dirtPath = new BLexiconEntry(LibLexicon.MISC_DIRT_PATH, categoryMisc);
|
||||
dirtPath.setLexiconPages(new PageText("0"), new PageCraftingRecipe("1", ModCraftingRecipes.recipeDirtPath));
|
||||
|
||||
if(Botania.bcTriggersLoaded) {
|
||||
bcIntegration = new BLexiconEntry(LibLexicon.MISC_BC_INTEGRATION, categoryMisc);
|
||||
|
||||
@@ -172,6 +172,7 @@ public final class LibLexicon {
|
||||
public static final String MISC_HEAD_CREATING = "headCreating";
|
||||
public static final String MISC_AZULEJO = "azulejo";
|
||||
public static final String MISC_STARFIELD = "starfield";
|
||||
public static final String MISC_DIRT_PATH = "dirtPath";
|
||||
public static final String MISC_TC_INTEGRATION = "tcIntegration";
|
||||
public static final String MISC_BC_INTEGRATION = "bcIntegration";
|
||||
|
||||
|
||||
@@ -1901,6 +1901,11 @@ botania.entry.starfield=Starfield Creator
|
||||
botania.page.starfield0=The &1Starfield Creator&0 does exactly as it says, by releasing elven energies into the air, if it's placed in the world, during night time it will create a starry sky that extends for a fair distance.
|
||||
botania.page.starfield1=Twinkle twinkle
|
||||
|
||||
# -- TRODDEN DIRT
|
||||
botania.entry.dirtPath=Trodden Dirt
|
||||
botania.page.dirtPath0=&1Trodden Dirt&0 is a type of soil that works perfectly for the creation of natural looking artificial paths through landscape. Similarly to &1Farmland&0, it's slightly inset into the ground, walking on it also provides a small speed boost.
|
||||
botania.page.dirtPath1=Follow the yellow dirt road
|
||||
|
||||
# -- THAUMCRAFT INTEGRATION
|
||||
botania.entry.tcIntegration=Thaumcraft Integration
|
||||
botania.page.tcIntegration0=Often enough, the paths of &4Botany&0 and &4Thaumaturgy&0 cross together. Mixing some of the artifacts mentioned in this book as well as any from the school of &5Thaumcraft&0 can allow for combinations of these to form.
|
||||
|
||||
Reference in new issue
Block a user