mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Introduce bounds to search for sparkles! (#5343)
* Address c368692a3; create upper bound on number of blocks scanned and reduce memory utilization * Final cleanup on sparkle overhaul; all multiblock structures should now sparkle in < 1ms on average * Remove timing info; either enable sparkles or the message (not both)
This commit is contained in:
1 parent
6e3b3fcf56
commit
9456b68529
6 files changed
+90
-89
No files matched your search
@@ -57,6 +57,7 @@ import mekanism.common.inventory.container.robit.ContainerRobitMain;
|
||||
import mekanism.common.inventory.container.robit.ContainerRobitRepair;
|
||||
import mekanism.common.inventory.container.robit.ContainerRobitSmelting;
|
||||
import mekanism.common.item.ItemPortableTeleporter;
|
||||
import mekanism.common.multiblock.UpdateProtocol.NodeChecker;
|
||||
import mekanism.common.network.PacketPortableTeleporter.PortableTeleporterMessage;
|
||||
import mekanism.common.tile.TileEntityChanceMachine;
|
||||
import mekanism.common.tile.TileEntityChemicalCrystallizer;
|
||||
@@ -511,16 +512,15 @@ public class CommonProxy implements IGuiProvider {
|
||||
}
|
||||
|
||||
/**
|
||||
* Does a generic creation animation, starting from the rendering block.
|
||||
* Does the multiblock creation animation, starting from the rendering block.
|
||||
*/
|
||||
public void doGenericSparkle(TileEntity tileEntity, INodeChecker checker) {
|
||||
}
|
||||
public void doMultiblockSparkle(TileEntity tileEntity, BlockPos corner1, BlockPos corner2, INodeChecker checker) {}
|
||||
|
||||
/**
|
||||
* Does the multiblock creation animation, starting from the rendering block.
|
||||
*/
|
||||
public void doMultiblockSparkle(TileEntityMultiblock<?> tileEntity) {
|
||||
}
|
||||
public void doMultiblockSparkle(TileEntity tileEntity, BlockPos renderLoc, int length, int width, int height,
|
||||
INodeChecker checker) {}
|
||||
|
||||
@Override
|
||||
public Object getClientGui(int ID, EntityPlayer player, World world, BlockPos pos) {
|
||||
|
||||
Reference in new issue
Block a user