Fix Javadoc
This commit is contained in:
@@ -85,7 +85,7 @@ public interface INetwork {
|
||||
INetworkItemManager getNetworkItemManager();
|
||||
|
||||
/**
|
||||
* @return the {@link IStorageCache <ItemStack>} of this network
|
||||
* @return the {@link IStorageCache<ItemStack>} of this network
|
||||
*/
|
||||
IStorageCache<ItemStack> getItemStorageCache();
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import com.mojang.blaze3d.vertex.PoseStack;
|
||||
* This {@link FunctionalInterface} is used to define a draw/render function.
|
||||
* This function use x and y coords and the element to draw.
|
||||
*
|
||||
* @param <T> the element to draw, usually {@link String}, {@link net.minecraft.item.ItemStack} or {@link net.minecraftforge.fluids.FluidStack}
|
||||
* @param <T> the element to draw, usually {@link String}, {@link net.minecraft.world.item.ItemStack} or {@link net.minecraftforge.fluids.FluidStack}
|
||||
*/
|
||||
@FunctionalInterface
|
||||
public interface IElementDrawer<T> {
|
||||
|
||||
@@ -30,7 +30,7 @@ public interface IStorageCache<T> {
|
||||
* Adds a stack to the cache.
|
||||
* <p>
|
||||
* Note that this doesn't modify any of the connected storages, but just modifies the cache.
|
||||
* Use {@link IStorage#insert(T, int, Action)} to add a stack to an actual storage.
|
||||
* Use {@link IStorage#insert(Object, int, Action)} to add a stack to an actual storage.
|
||||
* <p>
|
||||
* Will merge it with another stack if it already exists.
|
||||
*
|
||||
@@ -45,7 +45,7 @@ public interface IStorageCache<T> {
|
||||
* Removes a stack from the cache.
|
||||
* <p>
|
||||
* Note that this doesn't modify any of the connected storages, but just modifies the cache.
|
||||
* Use {@link IStorage#extract(T, int, int, Action)} to remove a stack from an actual storage.
|
||||
* Use {@link IStorage#extract(Object, int, int, Action)} to remove a stack from an actual storage.
|
||||
*
|
||||
* @param stack the stack to remove, do NOT modify
|
||||
* @param size the size to remove
|
||||
|
||||
@@ -15,7 +15,7 @@ import net.minecraftforge.fluids.FluidStack;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* @link https://github.com/mezz/JustEnoughItems/blob/1.15/src/main/java/mezz/jei/plugins/vanilla/ingredients/fluid/FluidStackRenderer.java
|
||||
* @see <a href="https://github.com/mezz/JustEnoughItems/blob/1.15/src/main/java/mezz/jei/plugins/vanilla/ingredients/fluid/FluidStackRenderer.java">JEI implementation</a>
|
||||
*/
|
||||
public class FluidRenderer {
|
||||
public static final FluidRenderer INSTANCE = new FluidRenderer(FluidAttributes.BUCKET_VOLUME, 16, 16, 16);
|
||||
|
||||
Reference in New Issue
Block a user