-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: allow multiple containers within a single container block e…
…ntity
- Loading branch information
1 parent
22b47e4
commit 873e141
Showing
44 changed files
with
553 additions
and
345 deletions.
There are no files selected for viewing
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
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
21 changes: 21 additions & 0 deletions
21
...refinedmods/refinedstorage2/platform/api/support/network/InWorldNetworkNodeContainer.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,21 @@ | ||
package com.refinedmods.refinedstorage2.platform.api.support.network; | ||
|
||
import com.refinedmods.refinedstorage2.api.network.node.container.NetworkNodeContainer; | ||
|
||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.core.GlobalPos; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
import org.apiguardian.api.API; | ||
|
||
@API(status = API.Status.STABLE, since = "2.0.0-milestone.2.1") | ||
public interface InWorldNetworkNodeContainer extends NetworkNodeContainer, ConnectionLogic { | ||
BlockState getBlockState(); | ||
|
||
boolean isRemoved(); | ||
|
||
GlobalPos getPosition(); | ||
|
||
BlockPos getLocalPosition(); | ||
|
||
String getName(); | ||
} |
Oops, something went wrong.