mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 20:42:35 +00:00
API javadoc cleanup, use NonNullList for ItemStack lists
This commit is contained in:
1 parent
55919a135e
commit
d8e735ef3b
48 files changed
+119
-207
No files matched your search
@@ -5,9 +5,8 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.apiculture;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.NonNullList;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
|
||||
@@ -22,7 +21,7 @@ public interface IHiveDrop {
|
||||
|
||||
IBee getBeeType(IBlockAccess world, BlockPos pos);
|
||||
|
||||
Collection<ItemStack> getExtraItems(IBlockAccess world, BlockPos pos, int fortune);
|
||||
NonNullList<ItemStack> getExtraItems(IBlockAccess world, BlockPos pos, int fortune);
|
||||
|
||||
/**
|
||||
* Chance to drop a bee or extra items. Default drops have 0.80 (= 80 %).
|
||||
|
||||
Reference in new issue
Block a user