Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaperMC/Paper
/ getType
Method
getType
paper-api/src/main/java/org/bukkit/material/Coal.java:42–44 ·
view source on GitHub ↗
Gets the current type of this coal @return CoalType of this coal
()
Source
from the content-addressed store, hash-verified
40
* @
return
CoalType of this coal
41
*/
42
public
CoalType getType() {
43
return
CoalType.getByData(getData());
44
}
45
46
/**
47
* Sets the type of this coal
Callers
1
toString
Method · 0.95
Calls
2
getByData
Method · 0.95
getData
Method · 0.65
Tested by
no test coverage detected