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

Method getItem

src/main/java/net/minecraft/item/ItemStack.java:137–140  ·  view source on GitHub ↗

Returns the object corresponding to the stack.

()

Source from the content-addressed store, hash-verified

135 * Returns the object corresponding to the stack.
136 */
137 public Item getItem()
138 {
139 return this.item;
140 }
141
142 /**
143 * Called when the player uses this ItemStack on a Block (right-click). Places blocks, etc. (Legacy name:

Callers 15

useProgramMethod · 0.95
middleClickMouseMethod · 0.95
func_177077_aMethod · 0.95
doRenderLayerMethod · 0.95
doRenderLayerMethod · 0.95
doRenderLayerMethod · 0.95
renderLayerMethod · 0.95
handleCustomPayloadMethod · 0.95
renderGameOverlayMethod · 0.95
updateTickMethod · 0.95
isHittingPositionMethod · 0.95
doVoidFogParticlesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected