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

Method pulverize

src/main/java/gregapi/util/OM.java:366–368  ·  view source on GitHub ↗
(OreDictMaterialStack aMaterial)

Source from the content-addressed store, hash-verified

364
365
366 public static ItemStack pulverize(OreDictMaterialStack aMaterial) {
367 return aMaterial==null?null:pulverize(aMaterial.mMaterial, aMaterial.mAmount);
368 }
369
370 public static ItemStack pulverize(OreDictMaterial aMaterial, long aMaterialAmount) {
371 return dust(aMaterial.mTargetPulver.mMaterial, UT.Code.units(aMaterialAmount, U, aMaterial.mTargetPulver.mAmount, F));

Callers 1

addRecipeForMaterialMethod · 0.95

Calls 2

dustMethod · 0.95
unitsMethod · 0.80

Tested by

no test coverage detected