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

Method hasKey

src/main/java/net/minecraft/nbt/NBTTagCompound.java:181–184  ·  view source on GitHub ↗

Returns whether the given string has been previously stored as a key in the map.

(String key)

Source from the content-addressed store, hash-verified

179 * Returns whether the given string has been previously stored as a key in the map.
180 */
181 public boolean hasKey(String key)
182 {
183 return this.tagMap.containsKey(key);
184 }
185
186 public boolean hasKey(String key, int type)
187 {

Callers 15

func_181036_aMethod · 0.95
renderByItemMethod · 0.95
doRenderLayerMethod · 0.95
handleComponentHoverMethod · 0.95
dispenseStackMethod · 0.95
getEnchantmentsMethod · 0.95
addInformationMethod · 0.95
addInformationMethod · 0.95
getBaseColorMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95

Calls 2

getTagIdMethod · 0.95
containsKeyMethod · 0.45

Tested by

no test coverage detected