Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Stoupy51 committed Jul 18, 2021
1 parent 87ee367 commit 6d99598
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@
This Datapack is an API to use if you want to create Industrial Datapacks.
It will create the energy system and will do the transferts for you.

Here is a tutorial to "how to implement" : <video link comming soon>
- 1 Machine = 1 Armor Stand, 1 Wire = 1 Armor Stand
Here is a tutorial to "how to implement" :
- 1 Machine = 1 Glow Item Frame, 1 Wire = 1 Glow Item Frame
They can have multiples tags :
- "EF_Use" (Always Required) to know what entities use the API
- "EF_CanReceive", if this machine can receive Energy
- "EF_CanSend", if this machine can send Energy
- "EF_Wire", if this is a wire

For example, if I want to create a generator, I will summon it with "Tags:["EF_Use","EF_CanSend"]"

For a energy consumer like an Electric Furnace : "Tags:["EF_Use","EF_CanReceive"]"

For a battery : "Tags:["EF_Use","EF_CanReceive","EF_CanSend"]"

For a wire : "Tags:["EF_Use","EF_Wire"]"
- Machines need also scores, there are 3 :
- "EF_Watt", transfert speed for wires BUT generation or energy consumption.
- "EF_EnergyStorage", max amount of energy
Expand All @@ -26,6 +29,8 @@ Here is a tutorial to "how to implement" : <video link comming soon>
For an energy consummer : EF_Watt=10, EF_Joule=0, EF_EnergyStorage=800

For a battery : EF_Joule=0, EF_EnergyStorage=20000

For a wire : EF_Watt=20


Also, there is an example of Datapack that use the Energy Flux API : https://github.com/Stoupy51/SimplEnergy
Expand Down

0 comments on commit 6d99598

Please sign in to comment.