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
70345feb
Commit
70345feb
authored
Jan 01, 2025
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Name tags were hidden for entities with no character sheet (they are now rendered)
parent
2fb6fb63
Pipeline
#13243
passed with stages
in 7 minutes 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG.md
CHANGELOG.md
+1
-0
BubbleRenderer.java
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
+4
-1
No files found.
CHANGELOG.md
View file @
70345feb
...
...
@@ -16,6 +16,7 @@ All notable changes to **CreatureChat** are documented in this file. The format
-
Prevent crash due to missing texture when max friend/enemy + right click on entity
-
Fixed bug which caused a max friend to interact with both off hand + main hand, causing both a message + riding (only check main hand now)
-
Hide auto-generated messages from briefly appearing from the mob (i.e. interact, show, attack, arrival)
-
Name tags were hidden for entities with no character sheet (they are now rendered)
## [1.2.0] - 2024-12-28
...
...
src/client/java/com/owlmaddie/ui/BubbleRenderer.java
View file @
70345feb
...
...
@@ -309,7 +309,7 @@ public class BubbleRenderer {
TextRenderer
fontRenderer
=
MinecraftClient
.
getInstance
().
textRenderer
;
// Get Name of entity
String
nameText
=
"
CreatureChat
"
;
String
nameText
=
""
;
if
(
entity
instanceof
MobEntity
)
{
// Custom Name Tag (MobEntity)
if
(
entity
.
getCustomName
()
!=
null
)
{
...
...
@@ -520,6 +520,9 @@ public class BubbleRenderer {
// Draw 'start chat' button
drawIcon
(
"button-chat"
,
matrices
,
-
16
,
textHeaderHeight
,
32
,
17
);
// Draw Entity (Custom Name)
drawEntityName
(
entity
,
matrix
,
immediate
,
fullBright
,
24
F
+
DISPLAY_PADDING
,
true
);
}
else
if
(
chatData
.
status
==
ChatDataManager
.
ChatStatus
.
PENDING
)
{
// Draw 'pending' button
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