Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ___________
- I set the name in the enchant creating code :
- this.setName("alb_"+name); // with name = "studying"
- this.setRegistryName(new ResourceLocation(AlbinosEnchants.MODID,"alb_"+name)); // AlbinosEnchants.MODID = "albinosenchants"
- ______________
- Various tries in the en_us.lang file located in src/main/resources/assets/lang :
- enchantment.albinomc.albinosenchants:alb_studying=Studying A
- enchantment.albinomc.albinosenchants.alb_studying=Studying B
- enchantment.albinosenchants:alb_studying=Studying C
- enchantment.albinosenchants.alb_studying=Studying D
- enchantment.albinosenchants:alb_studying=Studying E
- enchantment.albinosenchants.alb_studying=Studying F
- _______________
- pack.mcmeta in src.main/resources (mod custom icon works) :
- {
- "pack": {
- "description": "albinosenchants resources",
- "pack_format": 3,
- "_comment": "Yay, a comment !"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement