public MechBlockRenderer(ICoreClientAPI capi, MechanicalPowerMod mechanicalPowerMod) { this.mechanicalPowerMod = mechanicalPowerMod; this.capi = capi; }
public override void OnLoaded(ICoreAPI api) { base.OnLoaded(api); mechPower = api.ModLoader.GetModSystem <MechanicalPowerMod>(); }
public MechanicalNetwork(MechanicalPowerMod mechanicalPowerMod, long networkId) { this.networkId = networkId; Init(mechanicalPowerMod); }
public void Init(MechanicalPowerMod mechanicalPowerMod) { this.mechanicalPowerMod = mechanicalPowerMod; chunksize = mechanicalPowerMod.Api.World.BlockAccessor.ChunkSize; }
public MechanicalNetwork(MechanicalPowerMod mechanicalPowerMod, long networkId) { this.mechanicalPowerMod = mechanicalPowerMod; this.networkId = networkId; }