From b8302351529e645f6414aefe57e4c2fbf584214e Mon Sep 17 00:00:00 2001 From: jackassmc <84429870+jackassmc@users.noreply.github.com> Date: Tue, 25 May 2021 22:36:44 +0200 Subject: [PATCH] Map Minecraft logo outline method (#2432) * Map Minecraft logo outline method * Rename to drawWithOutline Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> * Document consumer Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: enbrain <69905075+enbrain@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> --- mappings/net/minecraft/client/gui/DrawableHelper.mapping | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mappings/net/minecraft/client/gui/DrawableHelper.mapping b/mappings/net/minecraft/client/gui/DrawableHelper.mapping index 448184defe..a46c843f59 100644 --- a/mappings/net/minecraft/client/gui/DrawableHelper.mapping +++ b/mappings/net/minecraft/client/gui/DrawableHelper.mapping @@ -206,6 +206,11 @@ CLASS net/minecraft/class_332 net/minecraft/client/gui/DrawableHelper ARG 3 x ARG 4 y ARG 5 color + METHOD method_29343 drawWithOutline (IILjava/util/function/BiConsumer;)V + ARG 1 x + ARG 2 y + ARG 3 renderAction + COMMENT the action to render both the content and the outline, taking x and y positions as input METHOD method_33284 fillGradient (Lnet/minecraft/class_4587;IIIIIII)V ARG 0 matrices ARG 1 startX