rename it to item_display_name
This commit is contained in:
1 parent
6466bf3f5b
commit
3f91c3b5cd
2 files changed
+2
-5
No files matched your search
@@ -258,10 +258,7 @@ public class Auxiliary {
|
||||
));
|
||||
});
|
||||
|
||||
expression.addContextFunction("item_name_text", -1, (c, t, lv)->{
|
||||
/*if(lv.size()==1 || lv.get(1).getBoolean()){
|
||||
return new FormattedTextValue(EntityValue.getItemStackFromValue(lv.get(0)).getDisplayName());
|
||||
}*/
|
||||
expression.addContextFunction("item_display_name", -1, (c, t, lv)->{
|
||||
return new FormattedTextValue(EntityValue.getItemStackFromValue(lv.get(0)).getHoverName());
|
||||
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user