generated from NeoForgeMDKs/MDK-1.21-ModDevGradle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
32 changed files
with
400 additions
and
142 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
src/main/java/net/superscary/fluxmachines/api/data/DataComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package net.superscary.fluxmachines.api.data; | ||
|
||
public interface DataComponent { | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/java/net/superscary/fluxmachines/api/data/DataLinkInteract.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package net.superscary.fluxmachines.api.data; | ||
|
||
import java.util.List; | ||
|
||
public interface DataLinkInteract { | ||
|
||
List<DataComponent> getLinkedData(); | ||
|
||
void setLinkedData (List<DataComponent> data); | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/net/superscary/fluxmachines/api/energy/Chargeable.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package net.superscary.fluxmachines.api.energy; | ||
|
||
import net.minecraft.world.item.ItemStack; | ||
|
||
public interface Chargeable { | ||
|
||
void charge (ItemStack stack, int amount); | ||
|
||
} |
18 changes: 0 additions & 18 deletions
18
src/main/java/net/superscary/fluxmachines/api/energy/Decays.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 0 additions & 56 deletions
56
src/main/java/net/superscary/fluxmachines/api/energy/EnergyDecay.java
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
src/main/java/net/superscary/fluxmachines/api/energy/PoweredBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package net.superscary.fluxmachines.api.energy; | ||
|
||
public interface PoweredBlock { | ||
|
||
FMEnergyStorage getEnergyStorage(); | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/net/superscary/fluxmachines/api/network/NetworkComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package net.superscary.fluxmachines.api.network; | ||
|
||
public interface NetworkComponent { | ||
|
||
default boolean canBeAnchor () { | ||
return true; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.