You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EnergyComponent System: Introduced core EnergyComponent<T> class to represent modular energy systems, including EnergyProducer, EnergyConsumer, EnergyStorage, and EnergyTransporter.
Energy Networks: Dynamic energy network detection based on block placement. Automatically connect components such as producers, consumers, storage units, and transporters into energy networks.
Energy Handling: Added energy management logic to balance production, storage, and consumption. Excess energy is stored in EnergyStorage components, and shortages are handled gracefully.
Block Placement and Network Merging: Automatically detect neighboring energy components when a block is placed. Networks merge when a connecting block links two independent networks.
Tick-Based Updates: Energy networks are updated every tick, managing energy flow and ensuring real-time behavior.
PersistentDataContainer Integration: Energy networks persist across server restarts, using Minecraft's PersistentDataContainer for block-based data persistence.
Energy Shortage Handling: Logic added to handle cases where energy production and storage are insufficient to meet consumer demand.
Asynchronous Operations: Optimized network discovery and updating using async operations, with chunk-based limitations to ensure efficient performance.