-
New Feature
-
Resolution: Invalid
-
Minor
-
None
-
None
-
N/A
Recently, a BlockState interface was added for a Comparator. It's looking kind of dry though! Might I suggest a #setMode() method to switch between the two different toggleable states of comparators, Compare and Subtract mode? Evidently, a getter would also be in order to retrieve the current state, so #getMode() as well? Something perhaps like this
public interface Comparator extends BlockState { public void setMode(ComparatorMode mode); public ComparatorMode getMode(); public enum ComparatorMode { COMPARE("Compare"), SUBTRACT("Subtract"); private ComparatorMode(String s) { } } }
I've never understood .patch files, so I have the slightest of clue how to implement this myself, so I thought I'd post a JIRA ticket instead. Perhaps someone else would like to take on this task