This repository has been archived by the owner on May 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving stuff to interfaces and cleaning up color/blockentity code
- Loading branch information
1 parent
454de71
commit 8311e04
Showing
6 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
...main/java/dev/compactmods/machines/api/machine/block/IBoundCompactMachineBlockEntity.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,10 @@ | ||
package dev.compactmods.machines.api.machine.block; | ||
|
||
public interface IBoundCompactMachineBlockEntity extends ICompactMachineBlockEntity { | ||
|
||
String NBT_OWNER = "owner"; | ||
String NBT_COLOR = "machine_color"; | ||
String NBT_ROOM_CODE = "room_code"; | ||
String NBT_ROOM_COLOR = "room_color"; | ||
|
||
} |
5 changes: 5 additions & 0 deletions
5
.../src/main/java/dev/compactmods/machines/api/machine/block/ICompactMachineBlockEntity.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,5 @@ | ||
package dev.compactmods.machines.api.machine.block; | ||
|
||
public interface ICompactMachineBlockEntity { | ||
String NBT_COLOR = "machine_color"; | ||
} |
5 changes: 5 additions & 0 deletions
5
...in/java/dev/compactmods/machines/api/machine/block/IUnboundCompactMachineBlockEntity.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,5 @@ | ||
package dev.compactmods.machines.api.machine.block; | ||
|
||
public interface IUnboundCompactMachineBlockEntity extends ICompactMachineBlockEntity { | ||
String NBT_TEMPLATE_ID = "template_id"; | ||
} |
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