public static void addGrassSeed(SeedEntry seed) { ForgeHooks.seedList.add(seed); }
/** * Register a new seed to be dropped when breaking tall grass. * * @param seed The item to drop as a seed. * @param weight The relative probability of the seeds, * where wheat seeds are 10. * * Note: These functions may be going away soon, we're looking into loot tables.... */ public static void addGrassSeed(ItemStack seed, int weight) { addGrassSeed(new SeedEntry(seed, weight)); }
/** * Register a new seed to be dropped when breaking tall grass. * * @param seed The item to drop as a seed. * @param weight The relative probability of the seeds, * where wheat seeds are 10. */ public static void addGrassSeed(ItemStack seed, int weight) { ForgeHooks.seedList.add(new SeedEntry(seed, weight)); }