Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
CreatureChat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Public
CreatureChat
Commits
ca79af11
Commit
ca79af11
authored
Apr 29, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide self player name in 3rd person, and hide all player names when HUD is hidden using F1.
parent
8a74794a
Pipeline
#12053
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
BubbleRenderer.java
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
+7
-5
No files found.
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
View file @
ca79af11
...
...
@@ -478,12 +478,14 @@ public class BubbleRenderer {
// Translate above the player
matrices
.
translate
(
0
F
,
-
scaledTextHeight
-
textHeaderHeight
-
textFooterHeight
,
0
F
);
// Draw Player Name
drawEntityName
(
entity
,
matrices
.
peek
().
getPositionMatrix
(),
immediate
,
fullBright
,
24
F
+
DISPLAY_PADDING
);
// Draw Player Name (if not self and HUD is visible)
if
(!
entity
.
equals
(
cameraEntity
)
&&
!
MinecraftClient
.
getInstance
().
options
.
hudHidden
)
{
drawEntityName
(
entity
,
matrices
.
peek
().
getPositionMatrix
(),
immediate
,
fullBright
,
24
F
+
DISPLAY_PADDING
);
if
(
showPendingIcon
)
{
// Draw 'pending' button (when Chat UI is open)
drawIcon
(
"button-dot-"
+
animationFrame
,
matrices
,
-
16
,
textHeaderHeight
,
32
,
17
);
if
(
showPendingIcon
)
{
// Draw 'pending' button (when Chat UI is open)
drawIcon
(
"button-dot-"
+
animationFrame
,
matrices
,
-
16
,
textHeaderHeight
,
32
,
17
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment