本篇教程由作者设定使用 CC BY-NC-SA 协议。

import mods.ymadditions.NetHubPowerUsage;
// 设置耗电计算函数 [context 为节点间的距离,isOtherDim 为是否跨纬度]
// 默认计算公式: (powerBase + powerDistanceMultiplier * context * ln(context^2 + 3)) * otherDimMultiplier (AE/t)
NetHubPowerUsage.calcNetHubPowerUsage(function(context as double, isOtherDim as bool){
return 0.0D;
});

是的,就这么多。