Compatibility
Minecraft: Java Edition
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 4 years ago
How?
For supported lanterns, place the lantern on the side of the block, and the lantern will attach to that side.
Compatibility
Lantern's that inherit from vanilla's lantern are automatically supported through a dynamic block entity. This does not cover every lantern, but it should cover most.
For developers
If your lantern extends LanternBlock and does not override getStateForPlacement it will be
supported by the block entity. If you don't extend LanternBlock or you do override
getStateForPlacement, you should implement wall hanging on your own.

