[1.17.x Omnibus] Fix typos and javadocs across code base (#8144)

This commit is contained in:
sciwhiz12 authored and GitHub committed 2021-11-25 13:09:56 -08:00
1 parent df8954869a
commit b4feee8046
163 files changed
+708 -454

No files matched your search

@@ -19,7 +19,11 @@
package net.minecraftforge.items;
import net.minecraft.world.Container;
import net.minecraft.world.item.ItemStack;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.capability.IFluidHandler;
import javax.annotation.Nonnull;
@@ -59,7 +63,7 @@ public interface IItemHandler
* Inserts an ItemStack into the given slot and return the remainder.
* The ItemStack <em>should not</em> be modified in this function!
* </p>
* Note: This behaviour is subtly different from {@link IFluidHandler#fill(FluidStack, boolean)}
* Note: This behaviour is subtly different from {@link IFluidHandler#fill(FluidStack, IFluidHandler.FluidAction)}
*
* @param slot Slot to insert into.
* @param stack ItemStack to insert. This must not be modified by the item handler.
@@ -97,7 +101,7 @@ public interface IItemHandler
/**
* <p>
* This function re-implements the vanilla function {@link IInventory#isItemValidForSlot(int, ItemStack)}.
* This function re-implements the vanilla function {@link Container#canPlaceItem(int, ItemStack)}.
* It should be used instead of simulated insertions in cases where the contents and state of the inventory are
* irrelevant, mainly for the purpose of automation and logic (for instance, testing if a minecart can wait
* to deposit its items into a full inventory, or if the items in the minecart can never be placed into the