mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 20:42:17 +00:00
Default universal cable performance modes on
This commit is contained in:
4 files changed
+5
-5
No files matched your search
@@ -94,7 +94,7 @@ public class MekanismConfig
|
||||
public static int electricBowPowerCost;
|
||||
public static int teleporterBasePowerCost;
|
||||
public static int robitEnergyPerHP;
|
||||
public static boolean disableUniversalCableServerVisualUpdates;
|
||||
public static boolean disableUniversalCableServerVisualUpdates = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ public class MekanismConfig
|
||||
public static boolean doMultiblockSparkle = true;
|
||||
public static int multiblockSparkleIntensity = 6;
|
||||
public static boolean opaqueTransmitters = false;
|
||||
public static boolean opaqueUniversalCable = false;
|
||||
public static boolean opaqueUniversalCable = true;
|
||||
public static boolean dynamicTransmitterDistanceCulling = true;
|
||||
public static int dynamicTransmitterRenderDistance = 32;
|
||||
public static int tesrGlobalRenderDistance = 64;
|
||||
|
||||
@@ -90,7 +90,7 @@ public class ClientProxy extends CommonProxy
|
||||
mekce_client.doMultiblockSparkle = Mekanism.configurationce.get("mekce_client", "DoMultiblockSparkle", true).getBoolean();
|
||||
mekce_client.multiblockSparkleIntensity = Mekanism.configurationce.get("mekce_client", "MultiblockSparkleIntesity", 6).getInt();
|
||||
mekce_client.opaqueTransmitters = Mekanism.configurationce.get("mekce_client", "disableTransparentTransmitterRender", false, "Global transmitter performance mode. Disables dynamic translucent contents for Universal Cables, Mechanical Pipes, Pressurized Tubes, Thermodynamic Conductors, and Logistical Transporters, and skips client visual ENERGY/GAS/FLUID network updates. Transfer behavior is unchanged.").getBoolean();
|
||||
mekce_client.opaqueUniversalCable = Mekanism.configurationce.get("mekce_client", "disableTransparentUniversalCableRender", false, "Universal Cable-only performance mode. Disables the cable energy overlay (LiquidEnergy) and client visual ENERGY network updates for Universal Cables only. Other transmitter types are unaffected unless global transmitter performance mode is enabled.").getBoolean();
|
||||
mekce_client.opaqueUniversalCable = Mekanism.configurationce.get("mekce_client", "disableTransparentUniversalCableRender", true, "Universal Cable-only performance mode, enabled by default. Disables the cable energy overlay (LiquidEnergy) and client visual ENERGY network updates for Universal Cables only. Other transmitter types are unaffected unless global transmitter performance mode is enabled.").getBoolean();
|
||||
mekce_client.dynamicTransmitterDistanceCulling = Mekanism.configurationce.get("mekce_client", "enableDynamicTransmitterDistanceCulling", true, "When true, dynamic transmitter contents are only rendered within the configured distance to reduce rendering cost.").getBoolean();
|
||||
mekce_client.dynamicTransmitterRenderDistance = Mekanism.configurationce.get("mekce_client", "dynamicTransmitterRenderDistance", 32, "Maximum block distance for rendering dynamic transmitter contents when distance culling is enabled. Default is 32.", 1, 512).getInt();
|
||||
mekce_client.tesrGlobalRenderDistance = Mekanism.configurationce.get("mekce_client", "tesrGlobalRenderDistance", 64, "Global maximum block distance for Mekanism TESR tile rendering. Lower values reduce render cost; higher values keep tile models visible farther away. Default is 64.", 1, 512).getInt();
|
||||
|
||||
@@ -324,7 +324,7 @@ public class CommonProxy implements IGuiProvider
|
||||
mekce.electricBowPowerCost = Mekanism.configurationce.get("mekce", "ElectricBowJoulesPerShot", 120, "Base energy cost of shooting arrows with the Electric Bow. Default is 120", 1, Integer.MAX_VALUE).getInt();
|
||||
mekce.robitEnergyPerHP = Mekanism.configurationce.get("mekce", "robitEnergyPerHP", 1000, "Energy equivalency of 1HP of health for Robit", 1, Integer.MAX_VALUE).getInt();
|
||||
mekce.teleporterBasePowerCost = Mekanism.configurationce.get("mekce", "BaseTeleporterCost", 1000, "Base energy cost of using teleporters. Default is 1000", 1, Integer.MAX_VALUE).getInt();
|
||||
mekce.disableUniversalCableServerVisualUpdates = Mekanism.configurationce.get("mekce", "disableUniversalCableServerVisualUpdates", false, "When true, server-side Universal Cable visual energy updates are disabled to reduce server tick overhead from cable render sync. Energy transfer logic is unchanged. Clients render Universal Cables as full while this is enabled.").getBoolean();
|
||||
mekce.disableUniversalCableServerVisualUpdates = Mekanism.configurationce.get("mekce", "disableUniversalCableServerVisualUpdates", true, "Enabled by default. Disables server-side Universal Cable visual energy updates to reduce server tick overhead from cable render sync. Energy transfer logic is unchanged. Clients render Universal Cables as full while this is enabled.").getBoolean();
|
||||
|
||||
mekce.IC2SinkTier = Mekanism.configurationce.get("mekce", "IC2SinkTier", 4, "Tier level for machines, we recommend setting it to tier 2 for ic2 classic", 1, 4).getInt();
|
||||
mekce.IC2SourceTier = Mekanism.configurationce.get("mekce", "IC2SourceTier", 4, "Tier level for generators, we recommend setting it to tier 2 for ic2 classic", 1, 4).getInt();
|
||||
|
||||
@@ -1654,7 +1654,7 @@ public class Mekanism
|
||||
{
|
||||
if(event.getChunk() != null && !event.world.isRemote)
|
||||
{
|
||||
HashMap<ChunkPosition, TileEntity> chunkData = new HashMap<ChunkPosition, TileEntity>(event.getChunk().chunkTileEntityMap);
|
||||
Map<ChunkPosition, TileEntity> chunkData = new HashMap<ChunkPosition, TileEntity>(event.getChunk().chunkTileEntityMap);
|
||||
|
||||
for (TileEntity tileEntity : chunkData.values()) {
|
||||
if (tileEntity instanceof IChunkLoadHandler) {
|
||||
|
||||
Reference in new issue
Block a user