aod6060 / BTAWC

This is a simple mod that add items to improve farming and other stuff. Its experamental.
Other
0 stars 0 forks source link

Update the energy api to use packets #47

Closed aod6060 closed 7 years ago

aod6060 commented 7 years ago

I need to update the energy api so I can use packets instead. This will allow me to free up the container stuff and steam line the energy stuff.

aod6060 commented 7 years ago

Alright I'm going to get started on this. What I'm going to do is make it were energy is handled similar to fluid inventory... I'm going to use a IPacketData object to push to the client TileEntity so I don't need to go through the container to do it. This should make it simpliler to handle energy and it should make it were I don't have to do work around with the container any more.

aod6060 commented 7 years ago
aod6060 commented 7 years ago

I did a little work earlier which I added the PacketDataEnergyStorageUpdate. I'm going to start by working on remodeling the Containers, TileEntites, and GuiContainers for the generators. I'll test this first with the Creative Generator.

aod6060 commented 7 years ago

I updated both the solar panel and creative generator to only use the Packet. I also started thinking of a better way to handle packets but I'll leave that for later to do.

aod6060 commented 7 years ago

Just updated the Lunar Panel. Now its time for the the solid fuel generator.

aod6060 commented 7 years ago

Alright I have everything done... I'm going to commit it and close this issue...