mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-17 10:55:06 +00:00
begin work
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user