Compatibility
Minecraft: Java Edition
26.3
26.2
26.1.x
1.21.4–1.21.11
1.21.1
1.20.4
1.20–1.20.1
1.19.x
1.18.x
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed MIT
Published 5 years ago
Updated 3 days ago
How?
For supported lanterns, place the lantern on the side of the block, and the lantern will attach to that side.
Compatibility
Modded lanterns can:
- Add support for hanging on walls directly in their own mod.
- Use the builtin API for creating wall lanterns, like this mod does for vanilla lanterns.
- This method is best suited for lanterns without any special functionality.
- Add a tag entry for
walllanterns:block/wall_lantern_compatiblewhich will allow this mod to dynamically support the lantern via a block entity. Additionally add a tag entry forwalllanterns:block/hanging_lanternif it looks better hanging.- This mod includes support for a limited number of lanterns via this method.
- This method may limit the functionality of a lantern when it is placed on a wall, e.x. a lantern that can turn on and off may not be able to do so.
- Compatibility lanterns should be interactable, if their mimicked lantern is.

