Skip to content

Commit

Permalink
Removed Energy Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiiragi283 committed Nov 1, 2024
1 parent f098d6d commit 8e7ae9c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 100 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fabric-kotlin = { group = "net.fabricmc", name = "fabric-language-kotlin", versi
#cca-api = { group = "org.ladysnake.cardinal-components-api", name = "cardinal-components-api", version.ref = "cca" }
#cca-base = { group = "org.ladysnake.cardinal-components-api", name = "cardinal-components-base", version.ref = "cca" }
#cca-entity = { group = "org.ladysnake.cardinal-components-api", name = "cardinal-components-entity", version.ref = "cca" }
#energy = { group = "teamreborn", name = "energy", version.ref = "energy" }

#libgui = { group = "io.github.cottonmc", name = "LibGui", version.ref = "lib-gui" }

accessories = { group = "io.wispforest", name = "accessories-fabric", version.ref = "accessories" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package hiiragi283.ragium.integration.jade

import com.mojang.serialization.Codec
import com.mojang.serialization.MapCodec
import hiiragi283.ragium.api.inventory.HTDelegatedInventory
import hiiragi283.ragium.api.inventory.HTSimpleInventory
import hiiragi283.ragium.api.machine.HTMachineTier
import hiiragi283.ragium.api.machine.HTMachineType
Expand Down Expand Up @@ -83,7 +84,7 @@ object HTMachineProvider : IBlockComponentProvider, IServerDataProvider<BlockAcc
accessor.machineEntity?.let { machine: HTMachineEntity<*> ->
accessor.writeData(TYPE, machine.machineType)
accessor.writeData(TIER, machine.tier)
accessor.writeData(INVENTORY, machine.parent)
(machine as? HTDelegatedInventory<*>)?.parent?.let { accessor.writeData(INVENTORY, it) }
accessor.writeData(TICK, machine.property.get(0))
accessor.writeData(MAX_TICK, machine.property.get(1))
if (machine is HTMultiblockController) {
Expand Down

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
"value": "hiiragi283.ragium.integration.RagiumClientAccessoriesPlugin",
"adapter": "kotlin"
},
{
"value": "hiiragi283.ragium.integration.RagiumEnergyPlugin",
"adapter": "kotlin"
},
{
"value": "hiiragi283.ragium.integration.RagiumPatchouliPlugin",
"adapter": "kotlin"
Expand Down

0 comments on commit 8e7ae9c

Please sign in to comment.