Fabric port in progress

This commit is contained in:
Sebastian Hartte
2020-06-27 23:25:38 +02:00
parent 80fbb58d4f
commit b79cd732b2
368 changed files with 2498 additions and 2698 deletions
@@ -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();
}