-
-
Notifications
You must be signed in to change notification settings - Fork 110
MaterialTag.Bottles Property Modernization #2667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
public static void register() { | ||
autoRegister("age", MaterialAge.class, ElementTag.class, true, "plant_growth"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you just reorder stuff in this file what
@@ -35,6 +35,11 @@ public static boolean describes(MaterialTag material) { | |||
|| (NMSHandler.getVersion().isAtLeast(NMSVersion.v1_19) && data instanceof Hangable); | |||
} | |||
|
|||
@Override | |||
public String getPropertyId() { | |||
return "attached"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same question
@@ -21,13 +21,19 @@ public class MaterialAttachmentFace extends MaterialProperty<ElementTag> { | |||
// --> | |||
|
|||
public static boolean describes(MaterialTag material) { | |||
return material.getModernData() instanceof FaceAttachable || material.getModernData() instanceof Bell; | |||
return material.getModernData() instanceof FaceAttachable | |||
|| material.getModernData() instanceof Bell; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what the fuck
As per Discord discussion, reverted formatting changes. |
MaterialTag.bottles
property.