Skip to content

Navigation Menu

Sign in
Sign up

MaterialTag powered property - #2803

Open
davight wants to merge 4 commits into
DenizenScript:dev from
davight:powerable_property
Open

MaterialTag powered property #2803
davight wants to merge 4 commits into
DenizenScript:dev from
davight:powerable_property

Conversation

@davight

@davight davight commented Dec 28, 2025

Copy link
Copy Markdown
Contributor

This adds proper support for controlling powerable materials.
Requested at https://discord.com/channels/315163488085475337/1049298571742158848

tal5 commented Jan 12, 2026

Copy link
Copy Markdown
Member

Need to handle the existing Powered support in MaterialTag.switched.

// @name powered
// @input ElementTag(Boolean)
// @description
// Controls whether the material is powered.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say something about redstone, both for ease of searching and to make it clearer - redstone powered, is powered (receiving a redstone signal of above 0). or something like that

Comment on lines +22 to +24
public MaterialPowerable(MaterialTag material) {
super(material);
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be needed with the modern property syntax?

tal5 marked this pull request as draft April 27, 2026 13:36

davight commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

finally addressed the issues, forgot about it lol

davight marked this pull request as ready for review August 18, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@tal5 tal5 tal5 requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /