Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/5zig/The-5zig-Mod
/ getBoxX
Method
getBoxX
Minecraft-Utils/1.8.9/src/ColorSelector.java:94–96 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
92
93
94
private
int
getBoxX() {
95
return
getX() + (getWidth() + MinecraftFactory.getVars().getStringWidth(getLabel())) / 2 + 4;
96
}
97
98
private
int
getBoxY() {
99
return
getY() + (getHeight() - boxHeight) / 2;
Callers
1
draw
Method · 0.95
Calls
5
getVars
Method · 0.95
getX
Method · 0.65
getWidth
Method · 0.65
getStringWidth
Method · 0.65
getLabel
Method · 0.65
Tested by
no test coverage detected