begin work

This commit is contained in:
GlodBlock committed 2022-05-13 23:09:58 +08:00
commit 632c0c3b8f
170 files changed
+8945

No files matched your search

@@ -0,0 +1,19 @@
package com.glodblock.github.interfaces;
import appeng.api.storage.data.IAEStack;
import javax.annotation.Nullable;
import java.util.stream.Stream;
public interface AeStackInventory <T extends IAEStack<T>> extends Iterable<T> {
int getSlotCount();
@Nullable
T getStack(int slot);
void setStack(int slot, @Nullable T stack);
Stream<T> stream();
}
@@ -0,0 +1,16 @@
package com.glodblock.github.interfaces;
import appeng.core.sync.GuiBridge;
import appeng.helpers.IPriorityHost;
import com.glodblock.github.inventory.GuiType;
public interface FCPriorityHost extends IPriorityHost {
GuiType getGuiType();
@Override
default GuiBridge getGuiBridge() {
return GuiBridge.GUI_Handler;
}
}
@@ -0,0 +1,9 @@
package com.glodblock.github.interfaces;
import net.minecraft.util.ResourceLocation;
public interface HasCustomModel {
ResourceLocation getCustomModelPath();
}
@@ -0,0 +1,9 @@
package com.glodblock.github.interfaces;
import appeng.api.storage.data.IAEItemStack;
public interface PatternConsumer {
void acceptPattern(IAEItemStack[] inputs, IAEItemStack[] outputs);
}
@@ -0,0 +1,14 @@
package com.glodblock.github.interfaces;
import appeng.api.storage.data.IAEItemStack;
import javax.annotation.Nullable;
public interface SlotFluid {
@Nullable
IAEItemStack getAeStack();
void setAeStack(@Nullable IAEItemStack stack, boolean sync);
}
@@ -0,0 +1,9 @@
package com.glodblock.github.interfaces;
public interface TankDumpable {
boolean canDumpTank(int index);
void dumpTank(int index);
}