File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
common/src/main/java/tesseract/api/capability Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 12
12
import org .jetbrains .annotations .NotNull ;
13
13
import tesseract .TesseractCapUtils ;
14
14
import tesseract .TesseractGraphWrappers ;
15
+ import tesseract .api .fluid .FluidContainerHandler ;
15
16
import tesseract .api .fluid .FluidTransaction ;
16
17
import tesseract .api .fluid .IFluidNode ;
17
18
import tesseract .api .fluid .IFluidPipe ;
21
22
import java .util .List ;
22
23
23
24
24
- public class TesseractFluidCapability <T extends BlockEntity & IFluidPipe > extends TesseractBaseCapability <T > implements IFluidNode {
25
+ public class TesseractFluidCapability <T extends BlockEntity & IFluidPipe > extends TesseractBaseCapability <T > implements IFluidNode , FluidContainerHandler {
25
26
26
27
private FluidTransaction old ;
27
28
@@ -85,6 +86,11 @@ public FluidSnapshot createSnapshot() {
85
86
return null ;
86
87
}
87
88
89
+ @ Override
90
+ public FluidContainer getFluidContainer () {
91
+ return this ;
92
+ }
93
+
88
94
@ Override
89
95
public long insertFluid (FluidHolder resource , boolean simulate ) {
90
96
if (this .isSending ) return 0 ;
You can’t perform that action at this time.
0 commit comments