tutorial:extendedscreenhandler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
tutorial:extendedscreenhandler [2022/05/27 15:59] – external edit 127.0.0.1 | tutorial:extendedscreenhandler [2022/09/10 18:34] – nexus-dino | ||
---|---|---|---|
Line 157: | Line 157: | ||
[...] | [...] | ||
- | public static final ScreenHandlerType< | + | public static final ScreenHandlerType< |
static { | static { | ||
Line 163: | Line 163: | ||
//we now use registerExtended as our screenHandler now accepts a packetByteBuf in its Constructor | //we now use registerExtended as our screenHandler now accepts a packetByteBuf in its Constructor | ||
- | BOX_SCREEN_HANDLER = ScreenHandlerRegistry.registerExtended(BOX, BoxScreenHandler:: | + | BOX_SCREEN_HANDLER = Registry.register(Registry.SCREEN_HANDLER, new Identifier(" |
} | } | ||
tutorial/extendedscreenhandler.txt · Last modified: 2022/12/17 15:38 by miir