Fix docs.
This commit is contained in:
@@ -20,7 +20,7 @@ public interface ICraftingMonitorElementRegistry {
|
||||
/**
|
||||
* Returns a factory from the registry.
|
||||
*
|
||||
* @param id the id, as specified in {@link ICraftingMonitorElement#getTaskId()}
|
||||
* @param id the id, as specified in {@link ICraftingMonitorElement#getId()}
|
||||
* @return the factory, or null if no factory was found
|
||||
*/
|
||||
@Nullable
|
||||
|
@@ -7,7 +7,7 @@ import com.raoulvdberge.refinedstorage.api.autocrafting.preview.ICraftingPreview
|
||||
* This {@link FunctionalInterface} is used to define a draw/render function.
|
||||
* This function use x and y coords and the element to draw.
|
||||
* Usually packaged in a {@link IElementDrawers}.
|
||||
* Used in {@link ICraftingPreviewElement#draw(int, int, IElementDrawers)} and {@link ICraftingMonitorElement#draw(int, int, IElementDrawers)}.
|
||||
* Used in {@link ICraftingPreviewElement#draw(int, int, IElementDrawers)} and {@link ICraftingMonitorElement#draw(int, int, IElementDrawers, boolean)}.
|
||||
*
|
||||
* @param <T> the element to draw, usually {@link String}, {@link net.minecraft.item.ItemStack} or {@link net.minecraftforge.fluids.FluidStack}
|
||||
*/
|
||||
|
@@ -25,7 +25,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, boolean)} to add a stack to an actual storage.
|
||||
* Use {@link IStorage#insert(T, int, com.raoulvdberge.refinedstorage.api.util.Action)} to add a stack to an actual storage.
|
||||
* <p>
|
||||
* Will merge it with another stack if it already exists.
|
||||
*
|
||||
@@ -40,7 +40,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, boolean)} to remove a stack from an actual storage.
|
||||
* Use {@link IStorage#extract(T, int, int, com.raoulvdberge.refinedstorage.api.util.Action)} to remove a stack from an actual storage.
|
||||
*
|
||||
* @param stack the stack to remove, do NOT modify
|
||||
* @param size the size to remove
|
||||
|
@@ -1,6 +1,5 @@
|
||||
package com.raoulvdberge.refinedstorage.container;
|
||||
|
||||
import com.raoulvdberge.refinedstorage.apiimpl.network.node.NetworkNodeConstructor;
|
||||
import com.raoulvdberge.refinedstorage.container.slot.filter.SlotFilter;
|
||||
import com.raoulvdberge.refinedstorage.container.slot.filter.SlotFilterFluid;
|
||||
import com.raoulvdberge.refinedstorage.tile.TileConstructor;
|
||||
@@ -9,13 +8,9 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraftforge.items.SlotItemHandler;
|
||||
|
||||
public class ContainerConstructor extends ContainerBase {
|
||||
private NetworkNodeConstructor constructor;
|
||||
|
||||
public ContainerConstructor(TileConstructor constructor, EntityPlayer player) {
|
||||
super(constructor, player);
|
||||
|
||||
this.constructor = constructor.getNode();
|
||||
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
addSlotToContainer(new SlotItemHandler(constructor.getNode().getUpgrades(), i, 187, 6 + (i * 18)));
|
||||
}
|
||||
|
Reference in New Issue
Block a user