MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / use

Method use

src/main/java/gregapi/util/ST.java:282–284  ·  view source on GitHub ↗
(Entity aPlayer, ItemStack aStack)

Source from the content-addressed store, hash-verified

280 }
281
282 public static boolean use(Entity aPlayer, ItemStack aStack) {
283 return use(aPlayer, F, T, aStack, 1);
284 }
285 public static boolean use(Entity aPlayer, ItemStack aStack, long aAmount) {
286 return use(aPlayer, F, T, aStack, aAmount);
287 }

Callers 15

onPlayerInteractionMethod · 0.95
doDamageMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
onItemUseMethod · 0.95
onLeftClickEntityMethod · 0.95
checkAndSetTargetMethod · 0.95
onBlockActivatedMethod · 0.95
onToolClickMethod · 0.95
onPlayerInteractionMethod · 0.95

Calls 4

invalidMethod · 0.95
updateMethod · 0.95
hasInfiniteItemsMethod · 0.80
onPlayerDestroyItemMethod · 0.80

Tested by

no test coverage detected