#1131: Added methods to get translation keys for materials, itemstacks and more
By: mfnalex <mfnalex@gmail.com>
This commit is contained in:
@@ -642,4 +642,9 @@ public class CraftBlock implements Block {
|
||||
|
||||
return iblockdata.canSurvive(world, this.position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTranslationKey() {
|
||||
return getNMS().getBlock().getDescriptionId();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user