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

Method entity

src/main/java/gregapi/util/ST.java:413–413  ·  view source on GitHub ↗
(World aWorld, double aX, double aY, double aZ, ModData aModID, String aItem, long aSize, long aMeta)

Source from the content-addressed store, hash-verified

411 public static EntityItem drop (World aWorld, double aX, double aY, double aZ, ItemStackContainer aStack ) {ItemStack rStack = aStack.toStack() ; if (invalid(rStack)) return null; EntityItem rEntity = entity_(aWorld, aX, aY, aZ, rStack); return aWorld.spawnEntityInWorld(rEntity) ? rEntity : null;}
412 public static EntityItem drop (World aWorld, double aX, double aY, double aZ, ItemStack aStack ) {ItemStack rStack = aStack ; if (invalid(rStack)) return null; EntityItem rEntity = entity_(aWorld, aX, aY, aZ, rStack); return aWorld.spawnEntityInWorld(rEntity) ? rEntity : null;}
413 public static EntityItem entity (World aWorld, double aX, double aY, double aZ, ModData aModID, String aItem, long aSize, long aMeta) {ItemStack rStack = make(aModID, aItem, aSize, aMeta); if (invalid(rStack)) return null; return entity_(aWorld, aX, aY, aZ, rStack);}
414 public static EntityItem entity (World aWorld, double aX, double aY, double aZ, Item aItem, long aSize, long aMeta ) {ItemStack rStack = make(aItem, aSize, aMeta) ; if (invalid(rStack)) return null; return entity_(aWorld, aX, aY, aZ, rStack);}
415 public static EntityItem entity (World aWorld, double aX, double aY, double aZ, Block aBlock, long aSize, long aMeta ) {ItemStack rStack = make(aBlock, aSize, aMeta) ; if (invalid(rStack)) return null; return entity_(aWorld, aX, aY, aZ, rStack);}
416 public static EntityItem entity (World aWorld, double aX, double aY, double aZ, ItemStackContainer aStack ) {ItemStack rStack = aStack.toStack() ; if (invalid(rStack)) return null; return entity_(aWorld, aX, aY, aZ, rStack);}

Callers 3

scanMethod · 0.95
handleDropsMethod · 0.95

Calls 4

makeMethod · 0.95
invalidMethod · 0.95
entity_Method · 0.95
toStackMethod · 0.45

Tested by

no test coverage detected