public MechBlockRenderer(ICoreClientAPI capi, MechanicalPowerMod mechanicalPowerMod)
 {
     this.mechanicalPowerMod = mechanicalPowerMod;
     this.capi = capi;
 }
Ejemplo n.º 2
0
        public override void OnLoaded(ICoreAPI api)
        {
            base.OnLoaded(api);

            mechPower = api.ModLoader.GetModSystem <MechanicalPowerMod>();
        }
Ejemplo n.º 3
0
 public MechanicalNetwork(MechanicalPowerMod mechanicalPowerMod, long networkId)
 {
     this.networkId = networkId;
     Init(mechanicalPowerMod);
 }
Ejemplo n.º 4
0
        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;
 }