Anvil Lore

Anvil Lore

Adds lore editing to anvils

8 downloads 1 followers

AnvilLore Anvil Lore

simple mod (447 lines of Kotlin across 5 files) that makes anvils able to change the lore of any item, rather than just the name

uses the default purple + italic styling

zero mixins, zero textures:

  • uses ScreenEvent.Render.Post + GuiGraphics fills and re-blits of the vanilla text field sprite to render the cropped name bar and its end cap
  • overrides the vanilla anvil screen by hooking NeoForge's screen events (ScreenEvent.Init.Post, KeyPressed.Pre & mouse Pre events) to attach the button and the lore editor, overlaying the inventory + hotbar area while editing

therefore, should be compatible with most mods and texture packs

credit to jason13 for this video, which inspired me to make this mod in the first place, because i thought i could make a better looking UI lmfao

Version Minecraft Loader Download

Anvil Lore 1.0.0

1.0.0

1.21.11
neoforge
Download