-
Notifications
You must be signed in to change notification settings - Fork 33
Bee CraftTweaker Functions
thedarkcolour edited this page May 9, 2020
·
4 revisions
Add or remove valid flowers for pollination.
The import for 1.12 is
import mods.futuremc.Bee;
Allows a bee to collect pollen from this block. Doesn't even have to be a flower. Parameters:
import mods.futuremc.Bee;
import crafttweaker.block.IBlockState;
Bee.addFlower(<blockstate:actuallyadditions:block_black_lotus>);
Prevents the bee from searching and collecting pollen from this flower.
import mods.futuremc.Bee;
import crafttweaker.block.IBlockState;
mods.futuremc.Bee.removeFlower(<minecraft:red_flower>);
If you want to overhaul the flowers that a bee can pollinate, use this function before you add your own recipes.
mods.futuremc.Bee.clearValidFlowers();