From 15ab7d67d1c3a3e74338428fe0b932efe8d64134 Mon Sep 17 00:00:00 2001 From: Vincent Lee Date: Thu, 7 Dec 2017 13:03:22 -0600 Subject: [PATCH] API doc tweak for stack nulls --- src/main/java/vazkii/botania/api/item/IHornHarvestable.java | 6 +++--- src/main/java/vazkii/botania/api/mana/ILens.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/vazkii/botania/api/item/IHornHarvestable.java b/src/main/java/vazkii/botania/api/item/IHornHarvestable.java index a441b785a..9f964b5d9 100644 --- a/src/main/java/vazkii/botania/api/item/IHornHarvestable.java +++ b/src/main/java/vazkii/botania/api/item/IHornHarvestable.java @@ -21,20 +21,20 @@ public interface IHornHarvestable { /** * Returns true if this block can be uprooted. - * Note that the stack param can be null if it's a drum breaking it. + * Note that the stack param can be empty if it's a drum breaking it. */ public boolean canHornHarvest(World world, BlockPos pos, ItemStack stack, EnumHornType hornType); /** * Returns true if harvestByHorn() should be called. If false it just uses the normal * block breaking method. - * Note that the stack param can be null if it's a drum breaking it. + * Note that the stack param can be empty if it's a drum breaking it. */ public boolean hasSpecialHornHarvest(World world, BlockPos pos, ItemStack stack, EnumHornType hornType); /** * Called to harvest by a horn. - * Note that the stack param can be null if it's a drum breaking it. + * Note that the stack param can be empty if it's a drum breaking it. */ public void harvestByHorn(World world, BlockPos pos, ItemStack stack, EnumHornType hornType); diff --git a/src/main/java/vazkii/botania/api/mana/ILens.java b/src/main/java/vazkii/botania/api/mana/ILens.java index f65ce6218..13c2577ad 100644 --- a/src/main/java/vazkii/botania/api/mana/ILens.java +++ b/src/main/java/vazkii/botania/api/mana/ILens.java @@ -26,7 +26,7 @@ public interface ILens extends ILensEffect { public boolean canCombineLenses(ItemStack sourceLens, ItemStack compositeLens); /** - * Gets the composite lens in the stack passed in, return null for none. + * Gets the composite lens in the stack passed in, return empty for none. */ public ItemStack getCompositeLens(ItemStack stack);