When blocks adjacent to multiblock-capable blocks are updated, (#4474)
do not always recalculate existing multiblocks. Only do so, if the adjacent block is either part of the multiblock's bounding box, or if the adjacent block would be a valid part of the multiblock.
This commit is contained in:
@@ -20,10 +20,23 @@ package appeng.me.cluster;
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
import net.minecraft.util.math.AxisAlignedBB;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
|
||||
import appeng.api.networking.IGridHost;
|
||||
|
||||
public interface IAECluster {
|
||||
|
||||
/**
|
||||
* The minimum x,y,z position still within the bounds of the cluster.
|
||||
*/
|
||||
BlockPos getBoundsMin();
|
||||
|
||||
/**
|
||||
* The maximum x,y,z position still within the bounds of the cluster.
|
||||
*/
|
||||
BlockPos getBoundsMax();
|
||||
|
||||
void updateStatus(boolean updateGrid);
|
||||
|
||||
void destroy();
|
||||
|
||||
Reference in New Issue
Block a user