(World aWorld, double aX, double aY, double aZ, ModData aModID, String aItem, long aSize, long aMeta)
| 401 | public static ItemStack make(ItemStackContainer aStack , String aName, NBTTagCompound aNBT) {return name(nbt(aStack.toStack(), aNBT), aName);} |
| 402 | |
| 403 | public static EntityItem place (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; EntityItem rEntity = entity_(aWorld, aX, aY, aZ, rStack); rEntity.motionX = rEntity.motionY = rEntity.motionZ = 0; return aWorld.spawnEntityInWorld(rEntity) ? rEntity : null;} |
| 404 | public static EntityItem place (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; EntityItem rEntity = entity_(aWorld, aX, aY, aZ, rStack); rEntity.motionX = rEntity.motionY = rEntity.motionZ = 0; return aWorld.spawnEntityInWorld(rEntity) ? rEntity : null;} |
| 405 | public static EntityItem place (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; EntityItem rEntity = entity_(aWorld, aX, aY, aZ, rStack); rEntity.motionX = rEntity.motionY = rEntity.motionZ = 0; return aWorld.spawnEntityInWorld(rEntity) ? rEntity : null;} |
| 406 | public static EntityItem place (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); rEntity.motionX = rEntity.motionY = rEntity.motionZ = 0; return aWorld.spawnEntityInWorld(rEntity) ? rEntity : null;} |
no test coverage detected