PneumaticCraft Pressure Conduits #849
No reviewers
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#849
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ferriarnus/pressure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Pressure conduits for PneumaticCraft.
TODO
Breaking Changes
List any breaking changes in this section, such as: changed/removed APIs, changed or removed items/blocks or modifications to recipes and gameplay mechanics.
Checklist
Just a handful of code style comments. After a quick pass the conduit code looks good and I'll test it in game another day -but- I have a question about the air context. When a conduit graph is split in half, there's going to be no loss of air and they'll both become over-pressure. Is there any way we can make the air drop and balance between the two graphs?
This of course hasn't been done by the energy conduits because they just clamp the storage back down to the capacity - this might be a case where the changes I was going to propose to Graph Lib could come in handy to properly split the resource across the two contexts.
@ -0,0 +86,4 @@}if (otherConduit.value() instanceof PressureConduit other) {Could you prune this blank space please :)
@ -0,0 +16,4 @@import java.util.List;public record PressureConduitStorage(PressureTier tier, ConduitNode node) implements IAirHandlerMachine {Another line here please (auto-formatting PR soon ™️)
@ -108,1 +80,3 @@return !isMultiFluid();public boolean canConnectTo(ConduitNode selfNode, ConduitNode otherNode) {FluidConduitData selfData = selfNode.getOrCreateData(ConduitTypes.Data.FLUID.get());FluidConduitData otherData = otherNode.getOrCreateData(ConduitTypes.Data.FLUID.get());Could we lift the fluid conduit fixes into a different PR, currently fluid conduits are completely borked and it'd be good to handle these separately 😅
@ -5,3 +5,3 @@# Minecraft and NeoForgeminecraftVersion=1.21.1neoForgeVersion=21.1.181neoForgeVersion=21.1.60Did we bump because .60 is required for Ender IO, or for Pneumaticraft?
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.