MCPcopy Index your code
hub / github.com/GregTech6/gregtech6 / meta_

Method meta_

src/main/java/gregapi/util/ST.java:164–164  ·  view source on GitHub ↗
(ItemStack aStack)

Source from the content-addressed store, hash-verified

162
163 public static short meta (ItemStack aStack) {return aStack == null ? 0 : meta_(aStack);}
164 public static short meta_(ItemStack aStack) {return (short)Items.feather.getDamage(aStack);}
165 public static ItemStack meta (ItemStack aStack, long aMeta) {return aStack == null ? null : meta_(aStack, aMeta);}
166 public static ItemStack meta_(ItemStack aStack, long aMeta) {Items.feather.setDamage(aStack, (short)aMeta); return aStack;}
167

Callers 15

onServerTickMethod · 0.95
onPlayerInteractionMethod · 0.95
onEntitySpawningEventMethod · 0.95
getBurnTimeMethod · 0.95
onProxyAfterPostInitMethod · 0.95
onItemTooltipMethod · 0.95
generatePermutationsMethod · 0.95
compareMethod · 0.95
onOreRegistration1Method · 0.95
onOreRegistration2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected