Interface GuiPaintWorklet
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Trusted mod-code callback that records bounded, renderer-neutral GUI paint commands.
Worklets never receive Minecraft renderer objects. The callback may use animation
time, but should provide a stable cacheKey(GuiPaintWorkletContext) when its
output can be reused.
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectcacheKey(GuiPaintWorkletContext context) voidpaint(GuiPaintWorkletContext context, GuiPaintRecorder recorder)
-
Method Details
-
paint
-
cacheKey
-