MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / getMaxDamage

Method getMaxDamage

src/main/java/net/minecraft/item/Item.java:196–199  ·  view source on GitHub ↗

Returns the maximum damage an item can take.

()

Source from the content-addressed store, hash-verified

194 * Returns the maximum damage an item can take.
195 */
196 public int getMaxDamage()
197 {
198 return this.maxDamage;
199 }
200
201 /**
202 * set max damage of an Item

Callers 6

matchesPropertiesMethod · 0.95
getCraftingResultMethod · 0.95
onItemRightClickMethod · 0.45
getItemStackMethod · 0.45
getSwordDamageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected