Skip to content

Conversation

@davight
Copy link
Contributor

@davight davight commented Dec 28, 2025

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

@tal5
Copy link
Member

tal5 commented Jan 12, 2026

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

// @name powered
// @input ElementTag(Boolean)
// @description
// Controls whether the material is powered.
Copy link
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
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?

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.

2 participants