Search in sources :

Example 1 with TreeFood

use of betterwithaddons.tileentity.TileEntityLureTree.TreeFood in project BetterWithAddons by DaedalusGame.

the class LureTree method add.

@ZenMethod
public static void add(@NotNull IItemStack input, int food) {
    ItemStack stack = CraftTweakerMC.getItemStack(input);
    TreeFood r = new TreeFood(stack, food);
    CraftTweaker.LATE_ACTIONS.add(new Add(r));
}
Also used : ItemStack(net.minecraft.item.ItemStack) IItemStack(crafttweaker.api.item.IItemStack) TreeFood(betterwithaddons.tileentity.TileEntityLureTree.TreeFood) ZenMethod(stanhebben.zenscript.annotations.ZenMethod)

Aggregations

TreeFood (betterwithaddons.tileentity.TileEntityLureTree.TreeFood)1 IItemStack (crafttweaker.api.item.IItemStack)1 ItemStack (net.minecraft.item.ItemStack)1 ZenMethod (stanhebben.zenscript.annotations.ZenMethod)1