Skip to content

feat: groundwork for oxygen detector - #27

Merged
Roelymole merged 6 commits into
minecraft/1.21from
groundwork/oxygen_detector
Sep 12, 2026
Merged

Roelymole merged 6 commits into
minecraft/1.21from
groundwork/oxygen_detector

Conversation

@Roelymole

@Roelymole Roelymole commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

This PR adds ResourceType.OVERRIDE for use in the side config tab to select which directions should be checked for oxygen, swapping between a texture with a grating to let the oxygen in and a plain face.

The faceHasOverride method should be overridden in the OxygenDetectorBlockEntity class in order to return true for each face we wish to enable the ResourceType.OVERRIDE for, which is probably all 6 faces.

The sides with the ResourceType.OVERRIDE selected are always displayed as the blank machine faces, so a different texture for these faces should be provided in the GCModelProvider.

@Roelymole
Roelymole merged commit 6050cd4 into minecraft/1.21 Sep 12, 2026
1 check passed
@Roelymole
Roelymole deleted the groundwork/oxygen_detector branch September 12, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant