Fabric port in progress
This commit is contained in:
@@ -176,7 +176,7 @@ public class DualityFluidInterface
|
||||
}
|
||||
}
|
||||
|
||||
final BlockEntity te = this.iHost.getTileEntity();
|
||||
final BlockEntity te = this.iHost.getBlockEntity();
|
||||
if (te != null && te.getWorld() != null) {
|
||||
Platform.notifyBlocksOfNeighbors(te.getWorld(), te.getPos());
|
||||
}
|
||||
@@ -201,7 +201,7 @@ public class DualityFluidInterface
|
||||
}
|
||||
|
||||
public DimensionalCoord getLocation() {
|
||||
return new DimensionalCoord(this.iHost.getTileEntity());
|
||||
return new DimensionalCoord(this.iHost.getBlockEntity());
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
import net.minecraft.entity.player.ServerPlayerEntity;
|
||||
import net.minecraft.server.network.ServerPlayerEntity;
|
||||
import net.minecraft.inventory.container.IContainerListener;
|
||||
|
||||
import appeng.api.storage.data.IAEFluidStack;
|
||||
|
||||
@@ -32,7 +32,7 @@ public interface IFluidInterfaceHost extends IActionHost, IGridProxyable, IUpgra
|
||||
|
||||
EnumSet<Direction> getTargets();
|
||||
|
||||
BlockEntity getTileEntity();
|
||||
BlockEntity getBlockEntity();
|
||||
|
||||
void saveChanges();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user