@@ -15,13 +15,14 @@ public class StatusScreen extends StatusScreenBase {
15
15
private static final ResourceLocation OUTLINE = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/outline.png" );
16
16
private static final ResourceLocation NO_AVAILABILITY = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/no_availability.png" );
17
17
private static final ResourceLocation DND = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/dnd.png" );
18
+ private static final ResourceLocation RP_ONLY = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/rp_only.png" );
18
19
private static final ResourceLocation OPEN = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/open.png" );
19
20
private static final ResourceLocation NEUTRAL = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/neutral.png" );
20
21
private static final ResourceLocation RECORDING = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/recording.png" );
21
22
private static final ResourceLocation STREAMING = ResourceLocation .fromNamespaceAndPath (Status .MODID , "textures/icons/streaming.png" );
22
23
23
24
public StatusScreen () {
24
- super (Component .translatable ("gui.status.title" ), 145 , 184 );
25
+ super (Component .translatable ("gui.status.title" ), 145 , 210 );
25
26
}
26
27
27
28
@ Override
@@ -41,6 +42,10 @@ protected void init() {
41
42
addRenderableWidget (dnd );
42
43
y += height + 1 ;
43
44
45
+ AvailabilityButton rp_only = new AvailabilityButton (x , y , width , height , Component .translatable ("message.status.rp_only" ), Availability .RP_ONLY );
46
+ addRenderableWidget (rp_only );
47
+ y += height + 1 ;
48
+
44
49
AvailabilityButton open = new AvailabilityButton (x , y , width , height , Component .translatable ("message.status.open" ), Availability .OPEN );
45
50
addRenderableWidget (open );
46
51
y += height + 5 ;
@@ -91,6 +96,9 @@ public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partia
91
96
renderIcon (guiGraphics , DND , x , y + 2 );
92
97
y += height + 1 ;
93
98
99
+ renderIcon (guiGraphics , RP_ONLY , x , y + 2 );
100
+ y += height + 1 ;
101
+
94
102
renderIcon (guiGraphics , OPEN , x , y + 2 );
95
103
y += height + 5 ;
96
104
0 commit comments