mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Added Petite flowers.
This commit is contained in:
1 parent
a651f1d08f
commit
4e37672325
24 files changed
+198
-32
No files matched your search
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* 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 the
|
||||
* Botania License: http://botaniamod.net/license.php
|
||||
*
|
||||
* File Created @ [Apr 22, 2015, 5:57:59 PM (GMT)]
|
||||
*/
|
||||
package vazkii.botania.api.recipe;
|
||||
|
||||
import vazkii.botania.api.BotaniaAPI;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class RecipeMiniFlower extends RecipeManaInfusion {
|
||||
|
||||
public RecipeMiniFlower(String flower, String mini, int mana) {
|
||||
super(BotaniaAPI.internalHandler.getSubTileAsStack(flower), BotaniaAPI.internalHandler.getSubTileAsStack(mini), mana);
|
||||
setAlchemy(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(ItemStack stack) {
|
||||
String key = BotaniaAPI.internalHandler.getStackSubTileKey(stack);
|
||||
return key != null && key.equals(input);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user