mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 11:49:37 +00:00
Endoflames will not absorb items with container item data.
This commit is contained in:
1 parent
a654f6a778
commit
1a9994beca
3 files changed
+6
-2
No files matched your search
@@ -44,6 +44,9 @@ public class SubTileEndoflame extends SubTileGenerating {
|
||||
for(EntityItem item : items) {
|
||||
if(item.age >= 60 && !item.isDead) {
|
||||
ItemStack stack = item.getEntityItem();
|
||||
if(stack.getItem().hasContainerItem())
|
||||
continue;
|
||||
|
||||
int burnTime = stack == null || stack.itemID == ModBlocks.spreader.blockID ? 0 : TileEntityFurnace.getItemBurnTime(stack);
|
||||
if(burnTime > 0 && stack.stackSize > 0) {
|
||||
this.burnTime = burnTime / 2;
|
||||
|
||||
@@ -178,7 +178,7 @@ public final class LexiconData {
|
||||
daybloom.setPriority().setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.daybloomRecipe));
|
||||
|
||||
endoflame = new BLexiconEntry(LibLexicon.GFLOWER_ENDOFLAME, categoryGenerationFlowers);
|
||||
endoflame.setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.endoflameRecipe));
|
||||
endoflame.setLexiconPages(new PageText("0"), new PageText("1"), new PagePetalRecipe("2", ModPetalRecipes.endoflameRecipe));
|
||||
|
||||
hydroangeas = new BLexiconEntry(LibLexicon.GFLOWER_HYDROANGEAS, categoryGenerationFlowers);
|
||||
hydroangeas.setLexiconPages(new PageText("0"), new PagePetalRecipe("1", ModPetalRecipes.hydroangeasRecipe));
|
||||
|
||||
@@ -408,7 +408,8 @@ botania.page.daybloom1=&oStarting up a brand new day&r.
|
||||
# -- ENDOFLAME
|
||||
botania.entry.endoflame=Endoflame
|
||||
botania.page.endoflame0=While the &1Daybloom&0 is all well and good, a botanist requires more effective means of generating &4Mana&0.<br>The &1Endoflame&0 does that exactly, it will absorb any combustible items or blocks dropped on the nearby vacinity (albeit only one at a time) and burn through them to passively generate mana while the fuel lasts.
|
||||
botania.page.endoflame1=&oNot nitor&r.
|
||||
botania.page.endoflame1=There is a small caveat though, the &1Endoflame&0 will not burn anything that returns a bi-product, an example are &1Lava Buckets&0, that have empty &1Buckets&0 as a bi-product.
|
||||
botania.page.endoflame2=&oNot nitor&r.
|
||||
|
||||
# -- HYDROANGEAS
|
||||
botania.entry.hydroangeas=Hydroangeas
|
||||
|
||||
Reference in new issue
Block a user