public override void Load(TagCompound tag) { NetworkCollection.EnsureNetworkIsInitialized(); if (tag.ContainsKey("networks")) { NetworkCollection.Load(tag.GetCompound("networks")); } if (tag.GetList <Point16>("mufflers") is List <Point16> list) { MachineMufflerTile.mufflers = list; } }
public override void PreUpdate() { NetworkCollection.EnsureNetworkIsInitialized(); }